Creating a Standalone Program Project

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

To create a standalone program:

  1. Check the WorkShop tool bar for the name of the current portfolio.

    If it is not the portfolio in which you want to create the project, choose Portfolio => Choose and select another portfolio name.

  2. Choose Project => Create => Standalone Program.

  3. In the Project Name field, enter the name of the project.

    Make sure you are consistent in the use of capitalization in project and file names (even if you are working on Windows NT or Windows 95, where file names are not case-sensitive). The Java WorkShop is case-sensitive.

  4. In the Source Directory field, enter the path name of the directory where you want to store the project.

    If the directory does not exist, the WorkShop will create it. You should store a project in its own directory.

  5. If sources do not exist for the standalone program:

  6. If source files exist:

  7. Click Apply.

The Java WorkShop creates the project .prj file using the name, source filenames, and other information you supplied and stores it in the directory you specified. The project name is added to the Project => Choose, Edit, Remove, Run, and Copy submenus.

If you are creating a new source file, either Visual Java or the Source Editor opens. If you are using existing source files, the Portfolio Manager opens with your project selected.

You can change the project's default attribute values using the Project Manager. 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 an Image Project
Creating a Remote Applet Project
Standalone Program Tab