Description: Double-buffering technology:
Another reducing flicker between frames is to use double buffering, which in many animation applet
Was used.
The main principle is to create a background image, to a painting into the images, then call drawImage ()
The entire image to the screen a picture up. Advantage is that most of the drawing is off screen. Will move an image on the screen:
world.gif as background, car.gif as moving objects, and was drawn twice, resulting in
A two car race scene.
To Search:
File list (Check if you may need any files):
java4.txt