Example 2a

This example is the same as Example 2, except the applet uses double buffering to remove flickering.

Because of the double buffering the speed of the applet can be increased without the flickering becoming a problem.