I created the following MenuItem
,
MenuItem item = new MenuItem("Alterar");
KeyCodeCombination acc =
new KeyCodeCombination(KeyCode.ENTER, KeyCombination.CONTROL_DOWN);
item.setAccelerator(acc);
The accelerator appears as Control+←
and I would like Control+Enter
to be displayed.
How do I change the text that appears on the accelerator, specifically enter.