Standalone Program Tab
Use the Standalone Program tab to create a standalone project either by using existing sources or by creating new sources. The Java WorkShop creates the project in the source directory you specify and adds its image to the current portfolio.
- Project Name
- The name of the project. You do not need to include the extension .prj. 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.
- Source Directory
- The path name of the directory where you want to store the .prj file, source files, and other project files. For clarity, you should store a project in its own directory.
- Existing Sources
- Field that controls whether or not the Java WorkShop uses existing source files for your project. If sources exist for the project, click the Yes radio button. You will be required to fill in the Sources and Main Class File fields. If sources do not exist for the project, click the No radio button and skip to the Create Using field.
- Sources
- If you set the Existing Sources field to Yes, you must add the names of the source files to the Sources list. Clicking the Add All in Directory button adds all .java files in the source directory to the list. Clicking the Add Selected button opens a file chooser in which you can select the .java files you want to add. If you make a mistake, you can delete a file by selecting its name in the Sources list and clicking the Delete button. Or, use Delete All to delete all files.
- Main Class File
- The name of the .class file in which the main method is defined. You must enter a value in this field if you set the Existing Sources field to Yes.
- Create Using
- If the Existing Sources field is set to No, use this field to indicate whether you want to create the sources using Visual Java or the Source Editor. Use Visual Java if you want to create a graphical user interface for your project.
- Command buttons
- Apply--Creates the project <.prj file using the name, source filenames, and other information you supplied and stores it in the specified directory
- Help--Displays help for the Standalone Program tab
See also:
- Creating a Standalone Program Project