posted 19 years ago
I would like this program to move a picture around the screen as someone presses the arrow keys. The problem is, I can't get the KeyListener to listen to keys while it's looping in my page flipping loop.
There is a MouseListener attached to my window that works great. However, the KeyListener I added doesn't do a thing.
I've tried a number of different things and most of it is commented out. So, I apologize for the mess. If anyone could help me out I would greatly appreciate it.
Sorry to post such a big chunk of code,
Dan
[ EJFH: Added code tags. ]
[ April 26, 2005: Message edited by: Ernest Friedman-Hill ]