Chapter 12. The java.awt Package: Layout
This chapter helps you prepare for the exam by covering the following objectives from the “The java.awt Package” section of the Sun testing objectives.
Write code using Component, Container, and LayoutManager classes of the java.awt package to present a graphical user interface (GUI) with specified appearance and resize behavior, and distinguish the responsibilities of layout managers from those of containers.
This is the key objective of this chapter. Several exam questions require you to know the basics of how layout managers are used. You need to have some practical experience using the AWT layout managers to correctly answer these exam questions.
This chapter also covers the following learning ...