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 picks up header information from the project file and adds the necessary import statements. 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.

The wizard contains the following fields:

Class Information

Package

Displays the package name derived from the project file name. 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 Building Applications with 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 from the project file as header comments at the top of the application class file. This is the information entered in the Project wizard when creating the project file.
//Title:        Your Product Name
//Version:    
//Copyright:    Copyright (c) 1997
//Author:       Your Name
//Company:      Your Company
//Description:  Your description