Sams Teach Yourself Java 2 in 24 Hours

Sams Teach Yourself Java 2 in 24 Hours

By Rogers Cadenhead

Hour 16. Building a Complex User Interface

Creating a graphical user interface with Swing involves more than learning how to use the different interface components, layout managers, and event-handling methods. You also have to spend some time familiarizing yourself with everything that Swing offers.

In the current version of Java 2, there are more than 400 different classes in Swing's javax.swing library and other related libraries. Many of these classes can be implemented using the same techniques you have used in the preceding three hours—all Swing containers and components share superclasses with each other, which gives them common behavior.

During this hour, you will learn about some additional components that you can use in your Swing programs:

Share ThisShare This

Informit Network