Before we leave this application, we can mention some of the significant events in an applets life. The class Applet defines a very structured sequence of operations. The method init is used to initialize an applet. The methods mouseDown and keyPressed are used to respond to user initiated events. The method paint is used to repaint the screen. Although not used in this program, the methods start and stop can be used to begin and halt the execution of an applet.