Double Buffering and Flicker
Look at the two applets below. One applet uses double buffering. The other does not. Notice the extra flicker present in the non-double buffering applet? This is because all drawing is done directly to the screen. So when the black rectangle is drawn, it momentarily erases the balls. This causes a slight flicker. The double buffered version has no such flicker because everything is drawn at once.



