How to assign shortcut to a button in fxml
I wanted to assign a button in fxml a keyboard shortcut. below is the example how to do that.
<Button mnemonicParsing="true" text="_Click Me">
Now that button will have underscore on that “C” and user can call it automatically with key combination of ALT+C, The UI form/window that button should have the focus.