About Actions in the Swing Application Framework

See Also

The Swing Application Framework provides support to help you define and manage actions.

In the framework, an action is a method that is marked with the &Action annotation. The framework then uses that method to perform the given action. You can also specify various attributes for the action that determine things such as the enabled state of the action, the action's blocking behavior, and whether the action runs in the background.

In the IDE, you can use Set Action dialog box to generate code for actions, including the annotation and any attributes. In the Set Action dialog box, you can do the following:

To open the Set Action dialog box, do one of the following things:

Notes:

See Also
About the Swing Application Framework
About Resources in the Swing Application Framework
About Java GUIs
GUI Builder Tasks: Quick Reference
Designing Java GUIs with the GUI Builder

Legal Notices