-
Bug
-
Resolution: Fixed
-
P4
-
5.0
-
b46
-
x86
-
windows_xp
A DESCRIPTION OF THE PROBLEM :
The documentation for JScrollPane.setColumnHeader() contains a sentence that reads:
"Most applications will find it more convenient to use setRowHeaderView to add a row header component and its viewport to the scrollpane."
This looks like a copy and paste error, since the user would clearly not find it more convenient to add a row header when he wishes to add a column header.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Most applications will find it more convenient to use setColumnHeaderView to add a column header component and its viewport to the scrollpane.
ACTUAL -
Most applications will find it more convenient to use setRowHeaderView to add a row header component and its viewport to the scrollpane.
URL OF FAULTY DOCUMENTATION :
http://java.sun.com/j2se/1.5.0/docs/api/javax/swing/JScrollPane.html#setColumnHeader(javax.swing.JViewport)
###@###.### 2005-04-13 21:42:56 GMT
The documentation for JScrollPane.setColumnHeader() contains a sentence that reads:
"Most applications will find it more convenient to use setRowHeaderView to add a row header component and its viewport to the scrollpane."
This looks like a copy and paste error, since the user would clearly not find it more convenient to add a row header when he wishes to add a column header.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Most applications will find it more convenient to use setColumnHeaderView to add a column header component and its viewport to the scrollpane.
ACTUAL -
Most applications will find it more convenient to use setRowHeaderView to add a row header component and its viewport to the scrollpane.
URL OF FAULTY DOCUMENTATION :
http://java.sun.com/j2se/1.5.0/docs/api/javax/swing/JScrollPane.html#setColumnHeader(javax.swing.JViewport)
###@###.### 2005-04-13 21:42:56 GMT