Search VisualAge for Java Information Go to Information Home Page Go to VisualAge for Java WWW Site

Interfaces Page

The Interfaces page of the Workbench displays all interfaces and methods in the workspace.  Here, you can organize, add, edit, create, and delete interfaces, methods, and fields.

All Interfaces Pane
The All Interfaces pane lists all interfaces in the workspace.  Each of the interfaces has a pop-up menu, which contains actions you can perform on it.  These options are also available from the Interfaces menu.  Interfaces that have been imported from bytecode (.class) files, or that are part of the standard class libraries provided in the VisualAge for Java product, are indicated by the bytecode symbol bytecode.gif (892 bytes).

Methods Pane
When you select an interface in the All Interfaces pane, the Methods pane lists all methods in the selected interface.  Each method has a pop-up menu, which contains actions you can perform on it.  These options are also available from the Methods menu.

Source Pane
When you select an interface or method, the Source pane shows the source code, if available.  If an interface has been imported from a Java bytecode file (.class), the source is not shown; if it is in one of the standard class libraries provided in the VisualAge for Java product, the source code is shown but is not editable.  These bytecode interfaces are indicated by the bytecode symbol bytecode.gif (892 bytes).

In the Source pane, you can compose Java code normally.  To save the code, select Save from the Edit menu, or from the Source pane's pop-up menu.  Use code assist (type Ctrl+Spacebar) to get help with class, method, and field names.  When you save, the source is automatically compiled.  Compiler errors are brought to your attention.

Tool Bar Buttons

debugger.gif (1043 bytes) Open Debugger Opens the Debugger browser.
search.gif (1033 bytes) Search Launches the program element search.
newinterface.gif (1024 bytes) Create an Interface Starts the Add Interface SmartGuide, for creating new interfaces or adding existing ones from the repository.
newmethod.gif (1035 bytes) Create a Method Starts the Add Method SmartGuide, for creating new methods or adding existing ones from the repository.
newfield.gif (1029 bytes) Create a Field Starts the Add Field SmartGuide, for creating new fields.
showedname.gif (1011 bytes) Show Edition Names Click to the down position to show edition names beside program elements.

Menus
The Interfaces page has the following menus:

ngrelt.gif (466 bytes)
Browsing the Workspace
Finding and Fixing Problems
Running an Applet from the IDE
Running an Application from the IDE
Creating an Interface
Creating a Method
Creating a Field
Saving Changes to Code
Setting IDE Options
Writing and Formatting Source Code

ngrelr.gif (548 bytes)
Code Assist
VisualAge for Java IDE Symbols