0
How to listen to keyevents outside a frame?
Ist there any way to detect keyevents outside of a frame in Java? I just know the KeyListener that is only listening to Events inside a frame. if you minimize or unselect the frame there will be no more Events being called.
1 Respuesta
+ 1
i dont think there is an easy way to achieve this using the java standard library (atleast there wasn't a few years back when i needed this). I use a library calle JNativehook that's free and available from the internet to achieve the functionality