-
Bug
-
Resolution: Fixed
-
P5
-
1.3.0
-
None
-
beta
-
x86, sparc
-
linux, solaris_2.6
The JTabbedPane setToolTipTextAt(int index, String toolTipText) method does
not throw the IllegalArgumentException (As specified in the javadoc) if the
index is out of bounds. The ArrayIndexOutOfBoundsException is thrown instead.
This may be just a javadoc bug.
The JTabbedPane getToolTipTextAt(int index) method has the same problem.
The JTabbedPane setIconAt(int index, Icon icon) method has the same problem.
not throw the IllegalArgumentException (As specified in the javadoc) if the
index is out of bounds. The ArrayIndexOutOfBoundsException is thrown instead.
This may be just a javadoc bug.
The JTabbedPane getToolTipTextAt(int index) method has the same problem.
The JTabbedPane setIconAt(int index, Icon icon) method has the same problem.