Browsing Class Files
If the sources are available, the Java
WorkShop Class Browser enables you to browse the classes,
methods, and comments that constitute a program. The
Class Browser is based on javadoc, the Java API Documentation
Generator.
The Class Browser extracts information from the program's
source files and presents it in a format that you can use
to:
- Understand how the program's classes are derived and easily follow links to the source of classes that
the program extends (if available)
- Display the methods contained in the program and easily follow links to their definitions in source files
- View special comments included in the source by the
author (see javadoc for details)
To browse a program:
- Specify the source files you wish to
browse. There are two ways to do that:
- Browse the source files you
designated as composing the project when you
created it.
- Browse the source files (with a
.java
suffix) in the directory that you specify in
the Browse field.
By default, the current Project is automatically entered in
the Browse field.
- The list of source files is loaded into the Class Browser
list area. Click on the file in the list that you wish
to browse and its information is displayed in the window.
When you follow a link to view information in a source
file, the file is automatically loaded into the WorkShop
source editor.
See also:
- Searching for Strings
- Java WorkShop Tutorial
- What Is a Project?