Frame Wizard

The Frame Wizard adds a new class to the opened project that extends DecoratedFrame. It picks up header information from the project file and adds the necessary import statements. It also creates a default constructor, and a jbInit() method in which JBuilder puts property setters and other initialization code used by the designers.

The wizard contains the following fields:

Bean information

Package

Displays the package name derived from the project file. To assign a different package name to the file, click in the Package field and type in a new name.

For more information on packages, see the Packages topic in the "Creating and managing projects" chapter of Getting Started with JBuilder.

Name of new JavaBean

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

Base class to inherit from

Displays a drop-down list box to select the class from which you want to inherit.

Show only core JDK and Swing classes

Restricts the choices on the "Base class to inherit from" drop-down list to the JDK and Swing classes.

Options

Generate main function

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