|20-CS-694||Advanced Programming Techniques||Spring 2012|
This series shows how to use some of the classes associated with
animating objects. Click on the class names in the following table
to see class details.
||-||A thread is started and every 50 milliseconds it causes a checker to move slightly and be repainted on a bicolor background. There is some flicker.|
||-||The flicker of the above is reduced because only the area whose colors change as a result of the checker movement are repainted. This is accomplished with method clipRect of class Graphics.|
||-||Double buffering eliminates all the flicker.|