Note that JSR 296 (Swing Application Framework) is no longer developed and will not become part of the official Java Development Kit as was originally planned. This framework is still included in the IDE and you can use this library as it is, but no further development is expected.
The New Java Desktop Application wizard enables you to create a new
that is based on the Swing Application Framework.
You open the wizard by opening the New Project wizard
and selecting the Java Desktop Application template
from the General category.
In the Name and Location page, you have to set the following properties:
Project Name. Specifies the display name of the project. This name
is also used to create the project folder.
Project Location. Specifies the folder where you want to store the
project metadata and source code. When you create an empty Java project, you
cannot store the project folder and the project source code in separate locations
like you can with projects from existing source code.
Project Folder. Specifies the folder where you want to store the project metadata and source code. The folder is a concatenation of the project location and the project name.
Use Dedicated Folder for Storing Libraries. When selected, you can specify a Libraries Folder where required compilation libraries are stored.
Libraries Folder. Specifies the location of the folder containing shared libraries.
Click Browse to specify a location other than the default.
Set as Main Project. Sets the newly created project as the main
project.
Application Class. Specifies the name of the main class to be
generated for the application. The application class contains the main()
method and implements other standard Swing Application Framework methods.
Choose Application Shell. Determines what kind of code is generated
for the application. If you choose Database Application, the wizard continues
for two more pages and enables you to generate a master/detail view based on a
database table that you specify.
If you selected the Basic Application shell, you can click Finish to create the
project on your computer and open the project in the Projects window and the
Files window.
If you selected the Database Application shell, click Next to specify the
database table and the configuration of the master/detail view of the database.