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

Menu Mnemonic Problems

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.2.0
    • client-libs



      Name: clC74495 Date: 12/08/98


      If I have a JMenuItem that shares a mnemonic with a JMenu,
      the JMenuItem is never selected when the mnemonic is pressed
      with its JMenu open.

      See sample code below...

      I have a File menu with F as mnemonic.
      I have an Edit menu with E as mnemonic and a Find menu item
      under it with F as mnemonic.

      If I press ALT-E, ALT-F, this opens the File menu, instead of
      selecting the Find menu item (using the Metal L&F and Windows
      - didn't try others).

      I think this is a bug as the Find should be selected, as that is
      what normally happens within Windows platform, others too.

      Sample code: see Workaround section.

      (Review ID: 47505)
      ======================================================================

            gsaab Georges Saab
            clucasius Carlos Lucasius (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: