Summary

Abstract expressionism only goes so far, as you have seen today. Layout managers require some adjustment for people who are used to more precise control over the place that components appear on an interface.

You now know how to use the five different layout managers and panels. As you work with the Abstract Windowing Toolkit, you'll find that it can approximate any kind of interface through the use of nested containers and different layout managers.

Once you master the development of a user interface in Java, your programs can offer something that most other visual programming languages can't: an interface that works on multiple platforms without modification.

To borrow an oft-repeated phrase: I don't know if it's art, but I like it.

Get Sams Teach Yourself Java 2 in 21 Days, Second 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.