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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access