Life Cycle of an Applet
The execution of an applet is control by the viewer, by invoking
the various life cycle methods:
init()
The first method called in the life cycle; it resembles a
constructor. Only called once.
start()
Called when the applet gains focus; this may happen if the
user moves to another Web page and then comes back.
stop()
Works in conjuction with the start() method. Called when the
user moves to another Web pages or the browser window is minimzed
destroy()
Called when the browser determined to terminate the Applet
paint()
A method inherited from Continer.