Image

Imagem2a0r0k4us wrote in Imagejava_dev

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