to change background image you should have
*array with image names on ImageTest class
*setImg() method on ImagePanel class
* I'm using ImageHelper.class to load Images
*counter to go to next...
Type: Posts; User: serdar
to change background image you should have
*array with image names on ImageTest class
*setImg() method on ImagePanel class
* I'm using ImageHelper.class to load Images
*counter to go to next...
each key has different Key Code for example space is 32
you should add KeyListener to your component
and the you can check which key is pressed like
if(event.getKeyCode()==32)