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

Summary

AWT components extend java.awt.Component—a collection of basic, useful components for implementing user interfaces. All of the components are heavyweight components that have peers and render themselves in their own native, opaque windows. The AWT provides support for implementing lightweight components, but does not provide any specific lightweight components.[10]

[10] The Swing set of components is a collection of mostly lightweight components.

java.awt.Component provides a great deal of functionality for its extensions, from setting/getting background/foreground colors to tracking location and size, to attaching cursors, to zordering components; the Component class covers a fair bit of ground.

Now that we've covered the Component class, ...

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