    Contents

# SampleApplet

SampleApplet is useful for seeing how events are handled and when methods are invoked. It prints debugging messages to standard output.

Here's SampleApplet:

To use this applet, you need to continuously view the standard output (here are the platform-specific details). Now move the mouse within and near the SampleApplet display. See what happens when you press a mouse button. Try going to another page and then returning. Try pressing the reload button (the rightmost button at the bottom of the HotJava display).

    Contents