Summary
- Applets extend the Applet class (from java.applet package)
- Swing applets similar to awt applets.
- They don't have the main() method. Instead they must implement
paint(), init() or start().
- They can be run in a browser or applet viewer.
- They should be embedded in HTML using the APPLET tag.
- Applets inherit the ability to draw and handle events from
Component, the ability to have other components inside and use
layout manager from Container.