m2a0r0k4us (m2a0r0k4us) wrote in programmerguild,
m2a0r0k4us
m2a0r0k4us
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
Subscribe
  • Post a new comment

    Error

    default userpic

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 1 comment