APPLET INITIALIZATION AND TERMINATION
When an applet begins, sequence of methods are:
1. init( )
2. start( )
3. paint( )
When an applet is terminated, the sequence is:
1. stop( )
2. destroy( )
1. init( )
2. start( )
3. paint( )
When an applet is terminated, the sequence is:
1. stop( )
2. destroy( )
init( ) :
- The init( ) method is the first method to be called.
- Initializing the variables.
- This method is called only once during the run time of the applet.