O'Reilly logo

PURE Java™ 2 by Kenneth Litwak

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

Java Foundation Classes

Because there is a companion volume on the Java Foundation classes, Pure JFC Swing, this section presents a brief treatment of how to code a Swing application. It will also present techniques for adding accessibility and drag-and-drop features to your programs.

The most notable feature of the Java Foundation class, hereafter JFC, is Swing. Swing is a replacement GUI framework, intended to be used instead of the AWT.

Caution

Unless you are using something similar to the Java Plugin for Java 2, using Swing in applets is not practical because it requires about a 1MB download of classes.

The main difference between the AWT and Swing is that all Swing classes are lightweight components, which means they can be drawn any way ...

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