menu shortcut shows text and not symbol
Hi,
I set an accelerator on an action that I use in a menu item like this:
action.putValue(ACCELERATOR_KEY, KeyStroke.getKeyStroke(KeyEvent.VK_PERIOD, InputEvent.CTRL_MASK));
In the menu item, I get something like:
<menu text> Ctrl-PERIOD
note the word period is spelt out in text but I want it to show:
<menu text> Ctrl-.
i.e. using the period symbol
Can anyone help me with this?
I know this may be a LAF thing but if so, is it possible to tweak my current LAF , maybe via UIManager to do this?
Party on,
Jim

