Shortcut key to java JFrame
My problem is that i want to create a shortcut key or shortcut key combination like Alt+Tab. I would like to know if i can create a shortcut key, so that from anywhere, both when focus is on a desktop or if another program, pressing this key will make my jframe pop up to the foreground.
Is this at all possible? I will really appriciate any help.
Re: Shortcut key to java JFrame
If your java program does not have focus I don't know that you can have it recognize keystrokes being given to another program. That sounds like an OS feature.
Re: Shortcut key to java JFrame
Norm's right, you should be able to do this using the OS scripting or native language, but not with Java.