Creating an Interface

The Add Interface SmartGuide makes creating interfaces a simple, easy to follow process that does not involve writing a word of code. 

To create a new interface:

  1. Before you launch the SmartGuide, select the package you want the interface to belong to.  This will set some defaults within the SmartGuide to make your work easier.
  2. To launch the SmartGuide, click the New Interface button newclassUp.gif (1045 bytes) on the toolbar of the Workbench or a browser.  Follow the SmartGuide instructions to add the new interface to the workspace.

After defining the interface in the SmartGuide, you can edit and add to the generated code in a browser.

tentergf.gif (577 bytes) In the team development environment, you must be a member of the package group in order to add an interface to an existing package. If you are creating the package at the same time as the interface, then you must own the project that contains the package.

ngrelc.gif (533 bytes)
Projects and Other Program Elements

ngrelt.gif (466 bytes)
Browsing the Workspace
Creating a Field
Creating a Method
Creating a Class
Creating an Applet or Application