-
Bug
-
Resolution: Fixed
-
P4
-
5.0
-
b90
-
x86
-
windows_xp
A DESCRIPTION OF THE PROBLEM :
The documentation states getComponentAtIndex(int i) is deprecated and that is has been replaced by getComponent(int i). This method signature does not exist in the documentation, only getComponent().
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Include the getComponent(int i) signature.
ACTUAL -
There is only a getComponent() with no args entry.
URL OF FAULTY DOCUMENTATION :
http://java.sun.com/j2se/1.5.0/docs/api/javax/swing/JPopupMenu.html
The documentation states getComponentAtIndex(int i) is deprecated and that is has been replaced by getComponent(int i). This method signature does not exist in the documentation, only getComponent().
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Include the getComponent(int i) signature.
ACTUAL -
There is only a getComponent() with no args entry.
URL OF FAULTY DOCUMENTATION :
http://java.sun.com/j2se/1.5.0/docs/api/javax/swing/JPopupMenu.html