# Creating a Standalone Program Project

You can create a standalone application in any portfolio for which you have write permission. When you create a standalone program project, you must provide a project name. Java WorkShop supplies default values for all other project attributes.

To create a standalone program:

1. Click the Project's button on the Java WorkShop main toolbar.
2. Double-click on the portfolio name where you want the standalone project to be placed.
3. Choose File -> New -> Project.
4. Type the name of your project in the box where `untitled` appears.
   Make sure you are consistent in the use of capitalization in project and file names (even if you are working on Microsoft Windows NT or Windows 95, where file names are not case-sensitive). Java WorkShop is case-sensitive.
5. Click the Standalone radio button.
6. Decide whether your application will have a GUI and select the radio button for your project's type of interface.
   To create an application with a GUI using the Visual Java GUI builder, select The GUI will be created using the Visual Java GUI Builder; to create a GUI without using the GUI builder, select The GUI will be created manually; and to create an application without a GUI, select No GUI.
7. Click Next.
8. In the text box where Java WorkShop displays the default path name, type the path name of the directory where you want to keep your project.
   If the directory does not exist, Java WorkShop will create it.
9. Decide whether you want to add existing source files:
   - If you do not want to add existing source files, make sure the No radio button is selected. Skip to Step 13.
   - If you do want to add existing source files, click the Yes radio button and click Next.
10. Click either the Add All in Directory or Add button to add source files to the list of project files.
11. Click Next.
12. If you want a name other than the default class file name, type the new name in the Main Class box.
13. Click Finish.

Java WorkShop creates the project`.prj` file using the name, source file names, and other information you supplied, and stores the project in the directory you specified. The project name is added to the project manager.

If you are creating a new source file, a new project template is displayed in the source editor. If you indicated in the Create Project wizard that there are existing source files, the source editor supplies the existing source files. If you chose to use the Visual Java GUI builder, the GUI builder palette is displayed.

You can change the project's default attribute values by choosing Edit -> Project. These attributes define the project's individual characteristics such as how it appears in the portfolio. For a listing of all project attributes, see Editing Project Attributes.

See also:

  Creating an Applet Project
  Creating a Java Package Project
  Creating a Beans Project
  Using the Create Project Wizard