Frame wizard

This is a feature of JBuilder SE and Enterprise.

The Frame wizard adds a new class to the opened project that extends either a Frame, a JFrame, or a JInternalFrame. It also creates a default parameterless constructor, and a jbInit() method in which JBuilder puts property setters and other initialization code used by the designers.

To open the Frame wizard, choose File|New to launch the object gallery and double-click the Frame icon on the General page.

Class Information

Package

Displays the package name derived from the project file. There are several ways to assign a different package name:

For more information on packages, see the "Packages" topic in the "Managing paths" chapter of Introducing JBuilder.

Class Name

Displays the default name assigned to the Frame class. To rename it, click in this field and type in a new name.

Base Class

Displays a drop-down list box to select the class from which you want to inherit. Click the ellipsis button to search for a base class that isn't in the drop-down list.

Options

Generate Main Method

Generates a main() method to make the class runnable.

Generate Header Comments

Uses information entered in the Class Javadoc fields in Step 3 of the Project wizard as header comments at the top of the file.

/**
 * <p>Title: </p>
 * <p>Description: </p>
 * <p>Copyright: Copyright (c) 2002</p>
 * <p>Company: </p>
 * @author unascribed
 * @version 1.0
 */