Lightweights--How?
To create a lightweight component, you need to create a class that directly extends one of the following classes:
- Component
- Container
- a class that implements a lightweight component -- for example, a non-AWT class that is a subclass of Component or Container