L
Luc The Perverse
In an attempt to familiarize myself with Sprite animation I have made an
exceptionally simple example.
I have a class called AnimationFrame (class AnimationFrame extends
javax.swing.JPanel implements Runnable, KeyListener) but I can't seem to get
it to keylistener events unless I drop an object in there and give it focus.
Any way I can avoid this? I don't want to have to have a fake control on
the front of my game.
exceptionally simple example.
I have a class called AnimationFrame (class AnimationFrame extends
javax.swing.JPanel implements Runnable, KeyListener) but I can't seem to get
it to keylistener events unless I drop an object in there and give it focus.
Any way I can avoid this? I don't want to have to have a fake control on
the front of my game.