# Adding an Existing Project

You can add a project that either you or someone else created into any portfolio for which you have write permission. The project you add does not have to be in a portfolio. Added projects behave just like projects you create in Java WorkShop.

You can add a project by reference, or you can copy it into a directory.

To add an existing project:

1. Click the Project's button on the Java WorkShop main toolbar.
2. Double-click the name of the portfolio into which you want to add the project.
3. In the project manager, choose File -> Add -> Project.
4. Type the absolute path name of the project you want to import in the box.
   Or click Browse and use the file chooser to select the directory and project name that you want to add.
5. Select how to add the project:
   - Copy. Stores copies of the project files (`.prj` file, source files, and data files) in the destination directory. Go to step 6.
   - Reference. Stores only the project's file name in the portfolio and maintains a link between the project in the portfolio and the project file. If you are adding a project by reference, click the Finish button.
6. If you are copying the project files, click Next.
7. Type a name for the project in the text box.
8. Type the path name of the directory in which you want to store the project files.
9. Click Finish.
   Java WorkShop adds the project into the current portfolio and to the project manager. The added project becomes the current project.

See also:

  Changing the Current Project
  Copying an Applet Into an HTML File