Applet methods
These applet methods are called automatically by the appletviewer or browser during an applet’s execution.
- init() - called once when an applet is loaded for execution.
- start() - called once after init and again every time the user returns to the HTML page of the applet (or every time the browser restarts the page).
- stop() - called every time the applet’s execution is suspended, mainly whenever the user leaves the HTML page.
- destroy() - called once whenever the applet is removed from memory, normally when the browser exits.