Previous | Next | Trail Map | Creating a User Interface (with Swing) | Using Components, the GUI Building Blocks

Using the AWT Components


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.

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.

General Rules for Using Components

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:


Previous | Next | Trail Map | Creating a User Interface (with Swing) | Using Components, the GUI Building Blocks