Java Reference
In-Depth Information
The Applet class
It contains several methods which are useful for java execution and detailed control. The
Applet initialization and termination are as follow.
For starting
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
on screen.
paint( )- In this the output of the applet is redrawn each time it is called.
For stopping
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.
Applet generation
HTML applet tag
Search WWH ::




Custom Search