The JavaTM Tutorial

| Start of Tutorial > Start of Trail | Search 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 and Swing Features and Concepts.

### 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.

| Start of Tutorial > Start of Trail | Search Examples Index