CS 101 Lecture 9 - Active Objects

Class Examples:

  1. A Simple Pong game with an animated ball.

    Click on Pong to show the example.

  2. A Fireworks applet with random fireworks for each mouse click.

    Click on Fireworks to show the example.

  3. The onMouseMove() method of the following program provides even more complex examples of displaying strings and numbers.

    Click on Better Fireworks to show the example.