Saturday, 18 February 2012

What is the lifecycle of an applet? | Java Swings

An Applet is basically lifecycle is defined as :
 Init( ) method : called when an applet is first loaded.
 Start( ) method : called each time an applet is started .
 Paint( ) method : called when the applet is minimized or maximized .
 Stop( ) method : called when the browser moves off the applet's page.
 Destroy( ) method : called when the browser is finished with the applet.