KeyListener without GUI or without focus
807589Oct 24 2008 — edited Oct 25 2008Hi people, I am making an application that replaces the mouse with the keyboard. It does that by sitting in the background clicking and moving the mouse using a Robot class. It should CLICK when I press SPACE and it works well as long as the application window stays focused, but when I try to use it with another application focused it doesn't recieve events from keyboard. Is there a solution to this problem?
Thanks,
Marko