m2a0r0k4us (m2a0r0k4us) wrote in programmerguild,

Java Help

Is there a way i can intercept key presses? For example, is there a way that, no matter what has focus, i can (for example) print which key has been pressed to the default output stream.

I've done it for a frame, but once the frame no longer has focus, the keylistener no longer works. Thanks

x-posted to java_dev
  • Post a new comment


    default userpic

    Your IP address will be recorded 

  • 1 comment