12.11.2014, 12:18
(12.11.2014, 10:40)ryanthara Wrote:(11.11.2014, 14:46)routeconverter Wrote: So far, I'm just guessing, that "ctrl N" should be "meta N" on Mac OS X - is that valid?You are right. On Mac OS X the meta-key, formerly known as apple-key is today titled with cmd.
I see two alternatives:
- Replacing "ctrl" with "meta" on Mac OS X before calling KeyStroke.getKeyStroke() - there are just two places in the code in JMenuHelper that have to be changed
- Defining alternative keystrokes (or accelerators in Apple speech) for Mac OS X, i.e. putting new-file-action-keystroke=meta WHATEVER-IS-MAC-SPECIFIC next to new-file-action-keystroke=ctrl N
--
Christian
Christian