I am creating a text editor using the gluon scene builder with java fx. The scene builder version is SceneBuilder-10.0.0 used with java version "10.0.1". I have a project to build a Text Editor. While building the components in the scene builder, under the File menu, I have the following menu items: New, Open, Save, Save As, and Close. I am trying to set the shortcut keys in the scene builder itself. There is an option to set the accelerator (under the Inspector Panel, in Properties) with a key. However, when I am setting it for the new menu item (and other menu items), it is set as this ignore ALT+N (Please click on the link to see the image) which makes the short cut key in the text editor to only "N" and not "ALT+N". I tried to code it in the controller class also with setAccelerator(), still it gives me similar results. I even donwloaded a fresh version of the scene builder and still does not work as expected. How can I get the short cut key to be as:

New ALT+N

under the new menu item, instead of the current:

New N
0

There are 0 answers