The following table outlines the basic process of working with
the Swing Application Framework in the IDE.

Create a Java Desktop Application project
|
- Choose File > New Project.
- In the New Project wizard, select the Java category and
select the Java Desktop Application template. Click Next.
- Choose an application shell.
Both the Basic Application
and Database Application shells enable you to take advantage of all of the framework
features.
- Complete the wizard.
|
|

Add components
|
- Create other any other forms needed by the application.
- Add necessary components to your forms,
including custom beans for which you will create bindings.
|
|

Generate and code actions
|
- Generate skeleton action methods for UI components by
right-clicking the component and choosing Set Action to
open the Set Action dialog box.
- In the Action drop-down list, select Create New Action.
- Fill in details for the action, including method name,
name, tool tip text, and accelerator. Optionally,
you can also make the action run as a background task and
do other advanced configuration.
- Click OK to close the dialog box.
- In the Source Editor, type code for the actions.
|
|

Edit application properties
|
- Right-click the project's node and choose Properties.
- Click the Application node to edit properties such
as the name that appears in the application's title bar.
- Click the Desktop App node to edit further properties, such
as Application ID and Look and Feel
|