I'm trying to write an application, which after pressing a key does a particular action. The thing is I need the application to receive key events even if JFrame isn't itself focused (is iconified).
I've read somewhere that it cannot be done - is that true?
If it is impossible.. is possible for window to get permanent focus - when it loses focus, it gains it back. (simple overriding method isFocusOwner didn't help :P )