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

MenuItem mnemonic should be settable without relying on or enabling mnemonic parsing

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 7u10
    • Fix Version/s: tbd
    • Component/s: javafx
    • Environment:

      Windows 7
      JDK 7u10

      Description

      MenuItem mnemonic should be a property that is not dependent on parsing the MenuItem text. If the mnemonic character is not part of the main text the displayed text should be amended with the mnemonic. Often translations to other languages leave the Mnemonic independent of the main menu item text. E.g. Chinese "Save" menu item will still use S as the mnemonic. Swing's JMenuItem supports this so developers migrating to JavaFX from Swing may expect it.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              swpalmer Scott Palmer
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Imported: