Note:
Unless otherwise noted,
the component-specific text in this page and the pages that follow
reflects 1.0, not 1.1.
The following figures show the inheritance hierarchies
for all the AWT component classes.
Object
|
MenuComponent
|
+------------+
| |
MenuItem MenuBar
|
+----+
| |
Menu CheckboxMenuItem
As the figures show, all components
except for menu-related components
inherit from the AWT Component class.
Because of cross-platform restrictions
(such as the inability to set menu background colors),
menu-related components aren't full-blown Components.
Instead, menu components inherit from the AWT MenuComponent class.
Before you start using components,
you should know what the Component class provides
and how you can customize components.
How to Use ...
The next group of pages
tells you how to use the components the AWT provides.
Each kind of component has its own page: