The JavaTM Tutorial
Previous Page Lesson Contents Next Page Start of Tutorial > Start of Trail Search
Feedback Form
Examples Index

Trail: Creating a GUI with JFC/Swing

Lesson: Using Swing Components

This lesson describes every Swing component. All of these sections assume that you've successfully compiled and run a program that uses Swing components, and that you're familiar with Swing concepts. These prerequisites are covered in Getting Started with Swing(in the Creating a GUI with JFC/Swing trail) and Swing Features and Concepts(in the Creating a GUI with JFC/Swing trail).

A Visual Index to the Swing Components

This section has a picture of each Swing component, from top-level containers to intermediate containers to atomic components. To find the section that discusses a particular component, just click the component's picture.

The JComponent Class

Almost all Swing components inherit from the JComponent class. This section tells you about the features JComponent provides, and gives tips on how to take advantage of those features.

Using Top-Level Containers

Discusses how to create windows and applets.

Using Intermediate Swing Containers

Discusses how to use intermediate containers to group or add features to other components.

Using Atomic Components

Discusses the rest of the Swing components, which are generally the components that users interact with when using your GUI.

Solving Common Component Problems

This section discusses solutions to common component-related problems.

Previous Page Lesson Contents Next Page Start of Tutorial > Start of Trail Search
Feedback Form
Examples Index