Browsing
VisualAge for Java gives you extensive facilities for browsing program elements.
In the IDE, you browse a program element by opening it. There are many
ways to open a program element in VisualAge for Java, but for now here are two simple
methods:
- Select the program element and select Open from the Selected
menu or from the pop-up menu for the program element.
- Select the appropriate browser in the Workspace menu (Open Type
Browser, Open Package Browser, or Open Project Browser)
for the program element. A secondary window appears that lists all the classes and
interfaces, packages, or projects in the workspace. Enter the name of your program element
and select OK.
When you open a program element, a window appears that displays information about this
program element. The following sections describe in more detail the windows that appear
when you open each kind of program element.
When you open a project, you get a window with four pages:
- The Packages page displays the hierarchy of packages contained in this
project.
- The Classes page displays the hierarchy of classes contained in this
project.
- The Interfaces page displays the interfaces contained in this project.
- The Editions page displays all the editions of this project.
- The Problems page lists all program elements in the project that
contain errors.

When you open a package, you get a window with the three pages:
- The Classes page displays the hierarchy of classes contained in this
package
- The Interfaces page displays the interfaces contained in this package
- The Editions page displays all the editions of this package
- The Problems page lists all program elements in the package that
contain errors.

When you open a class, you get a window with the five pages:
- The Methods page displays the methods contained in this class.
- The Hierarchy page displays the position of the class in the overall
class hierarchy.
- The Editions page displays the editions of this class.
- The Visual Composition page displays the Visual Composition Editor.
- The BeanInfo page displays the JavaBean
information for this class.

When you open an interface, you get a window with two pages:
- The Methods page displays the methods contained in this interface
- The Editions page displays the editions of this interface

When you open a method, you get a window with two pages:
- The Source page lists the source for the method
- The Editions page displays the editions of this method

