Is there a way to set a button key event in Java so that Alt does not have to be pressed. For example, when this is used setMnemonic(KeyEvent.VK_DELETE) it is required for Alt + Delete to be pressed in the application. How can I get around this? Thanks.
Is there a way to set a button key event in Java so that
Share
I would take a look at the key bindings tutorial. You can specify any
KeyStroketo perform anyAction.