Multithreaded Animation

Error! You must use a Java enabled browser.



Example of multithreaded graphics.

In the paint() method each Circle is:

Clipping of the overlapping Circles is possible when a neighboring
Circle is redrawn at a nearby location after being erased. Flickering
may occur locally during the drawing of each Circle.

 View source: Circle.java
 View source: MultThreaded.java

Compiled: JDK 1.1.5
Tested: Netscape 4.04
Author: Lawrence M. Brown
Date: 10 March 1998