Frame wizard

This is a feature of JBuilder Professional 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 New page.

Class Information

Package

Displays the package name derived from the project file name. To assign a different package name to the application file, click in the Package field and type in a new name or choose an existing package name from the drop-down list.

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 bring up a browser if you want to search for a base class that is not included in this 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) 2001</p>
 * <p>Company: </p>
 * @author unascribed
 * @version 1.0
 */