posted 17 years ago
the methods are
keyPressed(..) small k
keyReleased(..) small k, and with a d
and I'll re-add
when you get these fixed, you may also have to click into the applet,
to ensure it has the focus.
if it still doesn't work, change the KeyAdapter to KeyListener, add an empty
keyTyped(), and the compiler will tell you when you have it right
[edit]
and when you do get it right, up goes down, down goes up.
[ April 26, 2006: Message edited by: Michael Dunn ]