Hi all ! How I can trap a KeyStroke although my program is not active (any other windows is activing)!. Thanks to you ! tKC_07 <_!!!_> A believer of java [ July 12, 2003: Message edited by: Thanh Le Quoc ]
If you mean that the process running your JVM does not currently have focus, then I don't think you can. I've tried to find an answer to a similar question, and I think the OS never sends those events to your Java program. I'd be very interested to see if anyone knows a way to do this.