Flickering Images as moved accrost applet screen
I'm trying to create a simple game, more or less shooting something as it scrolls around.. Anyway the only way I've figured out how to move the images, is by posing the background, then the things being shot with the new coordinate, then repaint();. Doing this obviously causes siezures because everything is so flickery. Here's an example of how I'm doing this.
for( int a=0; a<50;a++){
gr.drawImage( background, 0, 0, this );
gr.drawImage( movingThing, a, 50, this );
this.pause();
}
Technically, it gets the job done...but it's like pounding in a screw with a hammer...it just isn't effecient. Any feedback would be greatly appreciated.

