* init() method - called when an applet is first loaded. This method is called only once in the entire cycle of an applet. This method usually intialize the variables to be used in the applet. * start( ) method - called each time an applet is started. * paint() method - called when the applet is minimized or refreshed. This method is used for drawing different strings, figures, and images on the applet window. * stop( ) method - called when the browser moves off the applet?s page. * destroy( ) method - called when the browser is finished with the applet.
1.public void init():-when applet is first time loaded in jvm 2.public void start():-this method invokes when applet starts(means when applet displaying on screen) 3.public void paint(Graphics g):-this method invokes automatically to draw some text or images or drawing on canvas... 4.public void stop():-invokes when applet programs stop.. 5.public void distroy():-invokes when applet window closed...
KE/2012-13/0017 init() method - called when an applet is first loaded. This method is called only once in the entire cycle of an applet. This method usually intialize the variables to be used in the applet. * start( ) method - called each time an applet is started. * paint() method - called when the applet is minimized or refreshed. This method is used for drawing different strings, figures, and images on the applet window. * stop( ) method - called when the browser moves off the applet?s page. * destroy( ) method - called when the browser is finished with the applet.
1.public void init():-when applet is first time loaded in jvm 2.public void start():-this method invokes when applet starts(means when applet displaying on screen) 3.public void paint(Graphics g):-this method invokes automatically to draw some text or images or drawing on canvas... 4.public void stop():-invokes when applet programs stop.. 5.public void distroy():-invokes when applet window closed...