O'Reilly logo

Graphic Java™ 1.2, Volume I: AWT, Third Edition by David M. Geary

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Components—The Foundation of the AWT

The AWT is a world of components; approximately half of the classes in the AWT are extensions of the java.awt.Component class. The Component class and its supporting cast are the foundation upon which the AWT is built:

  • Component – An abstract base class for components such as menus, buttons, labels, lists, and so on.

  • Container – An abstract base class that extends Component. Classes derived from Container, most notably Panel, Applet, Window, Dialog, and Frame, can contain multiple components.

  • LayoutManager – An interface that defines methods for positioning and sizing objects within a container. Java defines several default implementations of the LayoutManager interface.

  • Graphics class – An abstract class that ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required