Java Projects and Workspaces
A project in Java can be a Library, System Module, or Application,
which might or might not rely on other projects to run. These projects
can be made up of any number of Java code files (.java), java collections
(.jar files), resources (.rrh and .rrc files) and data files (.gif,
.txt, and so on). A Workspace is a group of one or more of these
projects. Any two or more projects that depend on each other must
exist in the same workspace for your application to compile and
run correctly.
Creating a new Workspace
In the JDE, on the File menu, click New
Workspace. The Create Workspace window appears. In this window,
specify the name of the workspace that you want to create. If the directory
that you select does not exist, you are asked if you want to create
it.
Adding a new Project to a Workspace
In the JDE, click Project and then Create
New Project. The Create New Project in Workspace window appears.
In this window, specify the name of the project that you want to
create. If the directory that you select does not exist, you are
asked if you want to create it.
Saving your work
In the JDE, on the File menu, click Save.
This will save the current file that you are working on as well
as any project and workspace information. The shortcut key for this action
is CTRL + S. If you want to save all the open files,
not just the one that you are currently working on, on the File menu,
click Save All.
Opening a Workspace
In the JDE, on the File menu, click Open
Workspace. A directory window appears and you can browse
to the workspace that you want to open. You can also open recently
used Workspaces by, on the File menu, clicking Recent
Workspaces and selecting the workspace that you want to open.