Creating a Package

A package is Java language construct that groups classes.  You can add a package to any project in the workspace.

To create a new package:

  1. Click the New Package button newPackUp.gif (1064 bytes) in the Workbench.  The Add Package SmartGuide will start up (This SmartGuide is also used for adding packages from the repository to the workspace).
  2. Follow the SmartGuide instructions to create the new package.

The new package will appear in the Projects and Packages pages of the Workbench. To add a descriptive comment for the new package, select it, and fill in a description in the Comment pane.

Once you have created a package you can add classes and interfaces to it.

tentergf.gif (577 bytes) In the team development environment, only the project owner can add a package to a project.

ngrelc.gif (533 bytes)
Projects and Other Program Elements

ngrelt.gif (466 bytes)
Creating a Project
Browsing the Workspace
Creating a Class
Creating an Interface
Creating a Field
Creating a Method
Adding Projects and Packages from the Repository to the Workspace