For a tiny game i'm making, i would like ALL KeyEvents to go to the same KeyListener, no matter which component has the focus. I also want the KeyListener to receive an event even if no component at all has the focus. How would i do this?
posted 16 years ago
Nevermind, no more than a few seconds after i posted the msg, it occured to me how to do it. I just added the listener to the frame. duh