Portfolio Manager

The Portfolio Manager groups related projects into a palette. The Portfolio Manager includes the following components.

Current Portfolio and Current Project

The portfolio in which you are currently working is called your current portfolio. The project in the portfolio that you are currently working with is called the current project. The current project sets the context for all the tools in the WorkShop. For example, when you open the Debugger, you will be debugging the current project.

The names of the current portfolio and project appear on the WorkShop tool bar to the left of the lighthouse icon. If these fields do not appear on your tool bar, try enlarging the WorkShop window. The current project is also selected in the palette.

The first time you run the WorkShop, your current portfolio is your personal portfolio, to which you have write access. The portfolio contains one sample applet project, Checkers, which is your current project. The number of projects in the current portfolio is listed on the Portfolio Manager tool bar control.

Tool Bar Controls

Clicking the controls on the Portfolio Manager tool bar, you can perform the following operations:

Create a new project
Opens tabs in which you can create the following types of projects: applet, standalone program, Java package, Image, and remote applet.

Import an existing project
Opens a dialog box in which you can import a project that either you or someone else created. You can import a project by reference, or you can copy it into a directory.

Remove the selected project
Removes the project name from the Choose, Edit, Remove, and Run submenus under the Project menu. The WorkShop does not delete the .prj file from the project directory.

Copy the selected project to the clipboard
Copies the project to the clipboard so you can paste it into the another portfolio or into the Source Editor.

Paste the project from the clipboard
Opens a dialog box in which you can paste a project from the clipboard into either a portfolio or into the Source Editor. You can paste a project by reference, or you can copy it into a directory.

Project Images

The images in the Portfolio Manager palette represent the following types of projects:

Applet
A program written in the Java language that runs within a Java-enabled Web browser, such as HotJava(tm).

Standalone Program
A program written in the Java language that runs outside a Web browser, usually from a command line.

Java Package
A group of classes declared with the same package name.

Image
An HTML image, usually a gif file, to be used in the HTML tag <img>.

Remote Applet
An applet that resides elsewhere on the Internet.

If a portfolio contains an image with a question mark, it means the project type is unknown.

If a project has a description, it appears in the lower-left corner of the browser when you place the pointer over the project.


See also:

What Is a Portfolio?
What Is a Project?