
Applets Lifecycle
- When an Applet loads:
- The browser creates an instance of the Applet (no-arg constructor is called)
- The browser initializes it (init() is called)
- The browser starts it (start() is called)
Leaving and returning to the page:
- The browser stops it (stop() is called)
- The browser starts it (start() is called)
Reloading the HTML file:
- stop()
- destroy() (to clean-up resources)
- Constructor (create a new Applet object)
- init()
- start()

|