Using Other Swing Features
Trail: Creating a GUI with JFC/Swing

Examples Index

Lesson: Using Other Swing Features

This section has not yet been updated to reflect features and conventions of the latest release, JDK 6.0.
This lesson contains a collection of how-to pages to help you use miscellaneous Swing features.

How to Use Actions

With Action objects, you can coordinate the state and event handling of two or more components that generate action events. For example, you can use a single Action to create and coordinate a tool-bar button and a menu item that perform the same function.

How to Use Swing Timers

With the Swing Timer class, you can implement a thread that performs an action after a delay, and optionally continues to repeat the action. The action executes in the event-dispatching thread.

How to Support Assistive Technologies

Swing components have built-in support for assistive technologies. Your program can provide even better support by following a few rules.

How to Use the Focus Subsystem

Some programs need to manipulate focus — for example, to validate input, or change the tab-order of components. This section describes some techniques you can use to customize focus in your program.

How to Use Key Bindings

With key bindings, you can specify how components react to user typing.

Solving Common Problems Using Other Swing Features

This section tells you how to fix problems you might encounter while trying to use the information in this lesson.
Previous page: Previous Lesson
Next page: How to Use Actions