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

Item Menus which have same mnemonic as their menu get invalid action events

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.0.2, 1.1.7, 1.2.0
    • client-libs
    • None
    • generic, x86, sparc
    • generic, solaris_2.5.1, solaris_2.6, windows_nt

      If a JMenuItem has the same mnemonic as its JMenu, it will recieve an action
      event when its menu is selected. This occurs if another menu (on the same menu
      bar) is being displayed. See attached program. Select Menu B by typing Alt-B,
      then type Alt-A, notice that an action event is generated for the menuItem on
      menu A (when it should have just displayed the menu). This is most noticable
      on win-32 where the acclerators/mnemonics work better than they do on Solaris.

      Tony Wyant 23 September 1998

            gsaab Georges Saab
            tonywyant Tony Wyant (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: