How to listen to key press?
I am creating a drawing module and want to listen to SHIFT keypress to draw 0/90/45 degree lines. I tried using KeyListener and KeyAdapter but later learned that they only work when components with text input are in focus. Can anyone provide me with a link / tutorial on this?
[283 byte] By [
coolprosua] at [2007-11-27 5:34:50]
