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

Mnemonics don't work for JMenuItems under JMenus

XMLWordPrintable

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



      Name: rmT116609 Date: 11/05/2002


      FULL PRODUCT VERSION :
      java version "1.4.1_01"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-b01)
      Java HotSpot(TM) Client VM (build 1.4.1_01-b01, mixed mode)

      FULL OPERATING SYSTEM VERSION : Windows 2000 SP3


      A DESCRIPTION OF THE PROBLEM :
      JMenuItems on a JMenu with JMenus above them in the menu
      aren't accesible via their mnemonic key until first
      JMenuItem underneath last JMenu is highlighted.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      1.Run SwingSet2 demo.
      2.Press ALT-T to access 'Themes' JMenu.
      3.Press Q or ALT-Q to select 'Aqua' theme (nothing happens).
      4.Arrow down so that highlighted JMenuItem is below the
      'Audio' JMenu
      5.Press Q or ALT-Q; the 'Aqua; JMenuItem is now accessible
      through its mnemonic.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      Expected: Mnemonics for JMenutItems below JMenu work.

      Actual: They don't

      REPRODUCIBILITY :
      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------
      SwingSet2 demo source located in demo\jfc\SwingSet2\src directory under JDK
      directory.
      ---------- END SOURCE ----------
      (Review ID: 166686)
      ======================================================================

            kizune Alexander Zuev
            rmandalasunw Ranjith Mandala (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: