Chapter 22. Containers, Layouts, and AWT Loose Ends

Containers, Layouts, and AWT Loose Ends

We’re now two-thirds of the way through our tour of JFC and Swing. This chapter completes the topic by presenting some containers and an explanation of how you use them to lay out your components neatly on the screen. We give some information on a couple of topics that are related to the window system generally. And we present a practical example showing how easy it is to make mistakes in threaded code.

Pluggable Look and Feel

Let’s start off the chapter ...

Get Just Java™ 2, Fifth Edition 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.