Details
-
Bug
-
Resolution: Fixed
-
P3
-
1.0
-
None
-
1.0beta
-
sparc
-
solaris_2.4
-
Not verified
Description
>From: Georg Hessmann <###@###.###
Description:
I've opened a frame with two menus and I want to replace
one of them. But both remove(int) and remove(MenuComponent)
do fail.
Error Message:
Log file:
java.lang.ArrayIndexOutOfBoundsException 1 >= 1
at java.lang.Throwable.<init>(Throwable.java)
at java.lang.Exception.<init>(Exception.java)
at java.lang.RuntimeException.<init>(RuntimeException.java)
at java.lang.IndexOutOfBoundsException.<init>(IndexOutOfBoundsException.java)
at java.lang.ArrayIndexOutOfBoundsException.<init>(ArrayIndexOutOfBoundsException.java)
at java.util.Vector.removeElementAt(Vector.java)
at java.awt.MenuBar.remove(MenuBar.java:128)
Description:
I've opened a frame with two menus and I want to replace
one of them. But both remove(int) and remove(MenuComponent)
do fail.
Error Message:
Log file:
java.lang.ArrayIndexOutOfBoundsException 1 >= 1
at java.lang.Throwable.<init>(Throwable.java)
at java.lang.Exception.<init>(Exception.java)
at java.lang.RuntimeException.<init>(RuntimeException.java)
at java.lang.IndexOutOfBoundsException.<init>(IndexOutOfBoundsException.java)
at java.lang.ArrayIndexOutOfBoundsException.<init>(ArrayIndexOutOfBoundsException.java)
at java.util.Vector.removeElementAt(Vector.java)
at java.awt.MenuBar.remove(MenuBar.java:128)