Step three of Java Applet Wizard allows you to add support for multi-threading, which is required for animation. This step also allows you to choose support for mouse events.

For example, if you want your program to react when the mouse cursor moves over your applet, select mouseDrag(), mouseMove().

next topic