I have MenuItem ,
MenuItem menuItem = new MenuItem("OP");
menuItem.setAccelerator(KeyCombination.keyCombination("Ctrl+S"));
I want to display only the text(Ctrl+S) and not have any action for the accelerator, because i have keyBindings
for that.With both in place the action occurs twice.
I found a similar question, [Add accelerator description to JMenuItem in GUI, without actually adding an accelerator
But it is for Swing.
How can i do this in JavaFX.