Creating a Class

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

To create a new class:

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

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

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

ngrelt.gif (466 bytes)
Browsing the Workspace
Creating a Field
Creating a Method
Creating an Interface
Creating an Applet or Application
Composing Beans Visually