Chapter 12. The java.awt Package: Layout

OBJECTIVES

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 ...

Get Sun Certification Training Guide (310-025, 310-027): Java™ 2 Programmer and Developer Exams 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.