Creating an Applet or Application

The Create Applet SmartGuide makes creating applets and applications a simple, easy-to-follow process that does not involve writing a word of code.  Except where differences between applets and applications are specified, the term "applet" refers to both applets and applications.

  1. Select the package you want the applet to belong to.  This will set some defaults within the SmartGuide to make your work easier.
  2. To launch the SmartGuide, click the New Applet button newclassUp.gif (1045 bytes) on the toolbar of the Workbench or a browser.  Follow the instructions in the SmartGuide to create and customize the generated applet. 

Example:  Generate an Example Applet

tentergf.gif (577 bytes) In the team development environment, you must be a member of the package group in order to add an applet to an existing package. If you are creating the package at the same time as the applet, 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)
Creating a Class
Creating an Interface
Adding Methods to a Type
Adding Fields to a Type
Running an Applet from the IDE
Running an Application from the IDE
Publishing Code