The Abstract Windowing Toolkit (AWT)

The Java GUI was developed to be cross-platform and not specific to any particular presentation manager. The presentation environment was abstracted out of the design; thus the name of the toolkit is the Abstract Windowing Toolkit (AWT). The Java GUI has been appended and improved with the introduction of the Swing GUI API, but many of the concepts of the original AWT are still present.

The AWT is centered around the concepts of containers, components, and layouts. A container is an abstract receptacle for components. The component is a high-level abstraction of a GUI object. All GUI objects are a specialization of the component. The AWT provides a Component class and most GUI objects are a subclass of this ...

Get J2EE™ and Beyond: Design, Develop, and Deploy World-Class Java™ Software now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.