1 |
Each applet's flow of control goes through a sequence of standard methods:
-
public void init() { . . . }
-
executed once when applet is downloaded to the browser.
-
public void start(){ . . . }
-
executed each time the browser window is entered.
-
public void paint(){ . . . }
-
executed whenever you want to draw in the window.
-
public void stop(){ . . . }
-
executed each time the browser window in exited.
-
public void destroy(){ . . . }
-
executed just before the applet exits.
|