[macosx] Space menu accelerator not rendered correctly

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 9
    • Affects Version/s: 8, 9
    • Component/s: client-libs
    • None
    • b08
    • os_x

      when using the space character as accelerator for a JMenuItem, it is not rendered correctly (I guess a ' ' is rendered, but that's kind of hard to see ;-).
      OS X applications like iTunes (in the controls menu) do render the word "Space", localized to the current locale.

      This is how it fails:

      action.putValue(Action.ACCELERATOR_KEY, KeyStroke.getKeyStroke(KeyEvent.VK_SPACE, 0));
      new JMenuItem(action);

            Assignee:
            Petr Pchelko (Inactive)
            Reporter:
            Petr Pchelko (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: