Tuesday, October 9, 2012

Applet lifecycle

Step 1:
Class a=Class.forName("AppletDemo");

Step 2:Instantiate the class

Applet a1=(Applet)a.newInstance();

Step 3:Call init() Method


Step 4:Call start() Method


Step 5:Call paint() Method


Step 6:Call stop() Method


Step 7:Call destroy() Method

No comments:

Popular Posts