I've just started learning JavaFX, and tried out the setMneumonicParsing()
method. However, I have a Mac, and it's not working.
I understand that on Windows you press Alt and the letter after the _. I've tried pressing Alt, Cmd, Ctrl, fn, Shift and many combinations of these but nothing seems to work.
Anyone have any experience with this?
Here's an excerpt from the code:
@Override
public void start(Stage stage) throws Exception
{
// Create a Button or any control item
Button myButton = new Button();
myButton.setMnemonicParsing(true);
myButton.setText("_Count");