Structure of Java Programs
Applets (transportable over WWW):
- Similar to applications, but...
- First method is:
public void init( )
- Remainder of applet is a series of handlers that respond to events (e.g., user actions).
- Program is executed by
Java interpreter running
in Web browser or
applet viewer.