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:

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:

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:

Depending on your scenario do one of the following: