Project Wizard
The Project Wizard creates a JBuilder project file with a .jpr file extension.
The project file contains the project settings and a list of all the files added to the project. JBuilder uses the list of files and the project settings when you load, save, or build a project.
To open the Project Wizard, use one of the following options:
- Choose File|New Project.
- Choose File|New, then double-click the Project icon.
You don't edit a project file directly, but it is modified whenever you use the JBuilder development environment to add and remove files and set other options. You can see the project file as the top node of the project tree in the Navigation pane. You can modify Source Path, Class Path, and Out Path information, plus compiler, run, and debug options using the Project Properties dialog box (File|Project Properties).
To add files to your project, choose File|New and click one of the icons, such as the Application Wizard or the Applet Wizard. You can also click the Add to Project button
in the Navigation pane and select the files to add using the File Open dialog.
The Project Wizard creates the following two files:
- A project file with a .jpr extension.
- An .html file with the same name as the project file. It contains default project information. You can edit this to record any pertinent information about the project you want to display. The contents of this file always display in the Source pane when the project file is selected, even if you remove the file from the project.
The Project Wizards contains the following fields. Some of the field contain default information which you can edit.
File
This field suggests a default path and project name. To enter a new path and project name, highlight the section you want to modify and type replacement text. The file will be created with the location and name you specify.
Note: The part of the path between JBuilder\myprojects
and the project file is the equivalent of the package name that will be suggested in the Application or Applet Wizard. For example, if you create a project called JBuilder\myprojects\mypackage\myproject.jpr
, the Application or Applet Wizard will suggest using a package name of mypackage
.
For more information on packages, see Packages in the "Creating and managing projects" chapter of Getting Started with JBuilder.
Title, Author, Company, Description
These self explanatory text fields are optional. The information entered in these fields is displayed in the project's associated .html file. The Application Wizard and Applet Wizard also use this information to generate header information at the top of the files they create.