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

XMLWordPrintable

      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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: