1
I created the following MenuItem
,
MenuItem item = new MenuItem("Alterar");
KeyCodeCombination acc =
new KeyCodeCombination(KeyCode.ENTER, KeyCombination.CONTROL_DOWN);
item.setAccelerator(acc);
It turns out that in the result the accelerator appears as Control+←
and I’d like it to be shown Control+Enter
.
How do I change the text that is displayed on the accelerator, specifically enter.