Explanation of applet fundamentals should include the following:
- Applets use the init method to begin execution.
- Applets are small programs designed for transmission over the Internet and run within the browser.
- Applets can be executed by a program in the Java Development Kit called AppletViewer (as long as the applet code tag is embedded in the opening comments of a program).
- Applets use the event handling mode. (Events are the way an applet receives input from the outside world.)
- The four basic methods that may override, init(), start(), stop(), and destroy(), and a fifth method, paint(), are inherited from the AWT Component class and must be implemented.
- Applets need not override methods they do not use.