JDK-4937498 : typo in JApplet and JWindow API
  • Type: Bug
  • Component: docs
  • Sub-Component: guides
  • Affected Version: 1.4.2
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2003-10-14
  • Updated: 2006-04-11
  • Resolved: 2006-04-11
Related Reports
Duplicate :  
Description
Name: gm110360			Date: 10/14/2003


A DESCRIPTION OF THE PROBLEM :
The string 'contentPane' from the javadoc comment of the following methods should be printed
with the fixed font.

- JApplet.setLayout()
http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/JApplet.html#setLayout(java.awt.LayoutManager
)

- JWindow.setLayout()
http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/JWindow.html#setLayout(java.awt.LayoutManager
)

EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
The string 'contentPane' from the javadoc comment of the following methods should be printed
with the fixed font.

- JApplet.setLayout()
http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/JApplet.html#setLayout(java.awt.LayoutManager
)

- JWindow.setLayout()
http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/JWindow.html#setLayout(java.awt.LayoutManager
)
ACTUAL -
The string 'contentPane' from the javadoc comment of the following methods should be printed
with the fixed font.

- JApplet.setLayout()
http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/JApplet.html#setLayout(java.awt.LayoutManager
)

- JWindow.setLayout()
http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/JWindow.html#setLayout(java.awt.LayoutManager
)

URL OF FAULTY DOCUMENTATION :

http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/JApplet.html#setLayout(java.awt.LayoutManager
)
(Incident Review ID: 202017) 
======================================================================

Comments
EVALUATION Fixed by 6383723: Clean up javadoc warnings in AWT, Swing, and 2D classes
11-04-2006

EVALUATION Occurrences of "content pane" needs to be in fixed font. ###@###.### 2003-10-16
16-10-2003