Chapter 21. Advanced Swing Programming

Working with Swing

The four weeks in this book provide a thorough introduction to the Swing class library, the most extensive improvement to the Java language introduced in version 2.

The term introduction may be discouraging, given the amount of Swing-related material that has been covered up to this point—not to mention what lies ahead today and during Week 4.

However, the term is appropriate, given the complexity and sophistication of Swing's windowing toolkit. There are more than 110 classes in the javax.swing package, just 1 of 10 packages in Java 2 that compose the Swing class library.

By comparison, version 1.0 of the Java language contained slightly more than 200 classes in its entire library.

Today you ...

Get Sams Teach Yourself Java™ 2 Platform in 21 Days Professional Reference 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.