im just thinking. is it possible to capture key presses on a java program even a frame is not in focus?
Printable View
im just thinking. is it possible to capture key presses on a java program even a frame is not in focus?
Without using JNI, no. The JVM will not receive any keypress events unless a component it controls is focused.
oh well.. thank you.. i better start studying JNI then.. =)