Chapter 22. Containers, Layouts, and AWT Loose Ends

  • Pluggable Look and Feel

  • All About Containers

  • Layout in a Container

  • Tying up the Loose Ends

  • Exercises

  • Some Light Relief—Sky View Cafe: A High Quality Applet

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 also give some information on a couple of topics that are related to the window system in general.

Pluggable Look and Feel

Let's start off the chapter with something that, while not unique to Java, is certainly not widely available. I'm referring to the Pluggable Look and Feel or PLAF as it is usually abbreviated. ...

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