The Applet class
It contains several methods which are useful for java execution and detailed control. The
Applet initialization and termination are as follow.
init( ) - Used to initialize method it is the first method.
start( ) - After initialization method this method comes and its function is to restart or display
paint( )- In this the output of the applet is redrawn each time it is called.
stop( ) - It is to leave the browser which is opened and contains applet.
destroy( ) - It is for the applet once which has to removed from the memory.
HTML applet tag