IN THIS CHAPTER
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, ...