# Naming a Package, Root Directory, and Source Files

In creating a package or beans project, you must specify a package name; specifying a root directory and source files is optional.

## The Package Name

Using the Package name box, you create a name for your package. The package naming convention consists of period separated words, with the first word representing the organization that developed the package.

To name your package:

- Type the new package name in the Package name box.
  Completing this box is required.

## The Root Directory

Using the Root directory box, you provide the name of the root directory where the class hierarchy will exist for the package or bean.

To specify the root directory:

- Type the root directory name of the package in the Root directory box.
  Completing this box is optional.

## The Project Storage Directory

The project storage directory text box lists the directory where Java WorkShop will keep the source files for the new project. You can provide an alternative to the default storage directory listed in the project storage directory box.

To store files in a directory other than the default:

1. Select the default storage directory name.
2. Type the new directory name where Java WorkShop will store the project source files.
   If the new directory does not exist, Java WorkShop will create it.

## Existing Project Files

If you have existing Java files, you can add these files to the project you are creating:

- To add existing files, click Yes.
- If you do not have existing files, click No.

Depending on your scenario do one of the following:

- If you are creating a package project with existing files, review the next wizard window.
- If you are creating a beans project with existing files, review the next wizard window.
- If you are creating a beans project without existing files, review the next wizard window.
- If you are creating a package project without existing files, click Finish.
  Java WorkShop adds the project name to the project manager, and the source editor window displays a project template to which you can add your source code.