Animation Example
Download the two files:
ExampleAnimationCanvas.java
(animation)
DBCanvas.java
(double buffering)
Compile them "javac *.java".
Run them: "java ExampleAnimationCanvas"
Left click to increase speed, center click to stop, right click to decrease speed.