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. An off-screen image will
Drawn to the screen than drawing directly on the screen to be much more effective.
Double buffering can make the animation smooth, but there is a drawback, to assign a background image, if image
Quite large, this will require a lot of memory.
When you use double buffering techniques should override update ().
To Search:
File list (Check if you may need any files):
java3.txt