Animation by Example
by David Matuszek

This is a series of pages designed to show how to do animation in Java.

All these applets work. If you have problems with some of the applets, you probably need to update your browser. If you use Netscape Navigator, you need at least version 4.76 with the Java plug-in. I'm not sure what the earliest version of Internet Explorer will work, but version 5 works fine for me.

  1. Applets
  2. A First Animated Applet

  3. The Model-View-Controller Design Pattern

  4. Using a Background

  5. Using an Offscreen to Eliminate Flicker

  6. Adding a Start/Stop Button

  7. Using Images instead of Drawings

  8. Using a series of images

  9. Multiple images

  10. Dragging images

  11. Conclusion