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, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access