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

Menu Mnenomics are not working when menu added directly to JFrame.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Not an Issue
    • Affects Version/s: 5.0
    • Fix Version/s: None
    • Component/s: client-libs

      Description

      Menu Mnenomics are not working when menu added directly to JFrame.

      Steps to reproduce:
      -------------------
      1)Make a Frame and add a menu with Mnemonic on it(Suppose 'f').
      2) You will see 'F' with an underscore. Now press alt + f.
      3) Nothing happens.
      This behavior is wrong. Either the Menu should show the drop down or there should be no Mnemonic shown.

      Also the JDk Docs,
      ============================================================================
      "In essence, a menu is a button with an associated JPopupMenu. When the "button" is pressed, the JPopupMenu appears. If the
      "button" is on the JMenuBar, the menu is a top-level window. If the "button" is another menu item, then the JPopupMenu is
      "pull-right" menu. "
      ===============================================================================,
      does not tell what will be the bahavior of the JMenu if it is not added on JMenuBar.

        Attachments

          Activity

            People

            • Assignee:
              kizune Alexander Zuev
              Reporter:
              mjoshisunw Mayank Joshi (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: