Previous | Next | Trail Map | To 1.1 -- And Beyond! | GUI Changes: The AWT Grows Up


Using the JFC "Swing" Release

The Swing project has developed many ready-to-use components, a few layout managers, and many other convenient classes, with more to come. The Swing components conform to the Swing architecture, which means that they are lightweight, have a pluggable look and feel, conform to the requirements of JavaBeans, and so on. Despite the plethora of features, the components are easy to use.

Keep an eye on this tutorial and the JFC home page for the latest information on the Swing project!

Getting Started with Swing

To write programs using the Swing components, you must first download the Swing release. To make sure you've downloaded the release and set up your environment correctly, you can run the SwingSet demo. The final test is to compile and run a Swing program.

Overview of the Swing Components

The Swing 0.2 release contains the following kinds of components: buttons, checkboxes, choices, combo boxes, internal frames, labels, list boxes, menus, layered panes, panels, popup menus, progress bars, radio buttons, scroll bars, scroll panes, separators, sliders, tabbed panes, tables, various editable text components, titled panes, tool tips, trees, and assorted other components.

This section shows you all the Swing components. Some of these components are simply Swing versions of 1.0 components, but others are new additions.

Using Each Swing Component

This section first gives you an overview of the code you need to write to use any Swing component. Then each component has a page that tells you all about using that component.

Taking Advantage of the Swing Architecture

The Swing architecture gives you many capabilities beyond simply using components. For example, you can specify which look-and-feel a component uses.


Previous | Next | Trail Map | To 1.1 -- And Beyond! | GUI Changes: The AWT Grows Up