Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-1223056

(fp.bugs 1863) MenuBar.remove() doesn't work

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 1.0
    • 1.0
    • client-libs
    • 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)


      Attachments

        Activity

          People

            sshaiosunw Sami Shaio (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: