I am trying to create an application, and I want to remove all the basic mac keybinds. For example, if the user tries to do command+space, then I don’t want spotlight to open. How would I go about doing this? Is there something that Toolkit has that I am missing?
Thank you,
Howard Stark
The only way I’m aware of to do this on OS X — in general, not just in Java — is to enable kiosk mode by setting
NSApplication.presentationOptions. I’m not certain that there’s any way to do this with Java without delving into JNI, though.