Chapter 4. AWT Concepts and Architecture

This chapter takes a closer look at AWT components and containers. Whether you plan to program in AWT or Swing, understanding the way components and containers work together is crucial to writing a Java program of any substance. Even if you plan to use only Swing components, you need to understand the AWT foundation upon which all the Swing tool set is build.

This chapter focuses on the attributes and capabilities that are characteristic of all components, and discusses how they work. I will examine in detail the java.awt.Component class, which is the ancestor of all component types in Java, ...

Get Java GUI Development: The Authoritative Solution 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.