O'Reilly logo

Sun Certification Training Guide (310-025, 310-027): Java™ 2 Programmer and Developer Exams by Jamie Jaworski

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Swing GUI Building

Swing GUI building is similar to AWT GUI building, except that you have many more component classes with which to work. For the most part, your knowledge of the AWT carries over directly to Swing. However, Swing provides numerous enhancements that you will need to know to maximize Swing's potential. The following subsections describe the classes that are used for Swing GUI building and point out the enhancements that Swing provides.

Windows

Just as AWT provides a Window class hierarchy, so does Swing. Swing's window classes are extensions of the AWT Window class hierarchy. The JWindow class extends the AWT Window class. The JFrame class extends the AWT Frame class, and the JDialog class extends the AWT Dialog class.

The JWindow ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required