This is a feature of JBuilder SE and Enterprise.
The Dialog wizard creates a new class that can extend the Dialog
class or the JDialog
class and adds it to the current project. It also adds the necessary import statements, as well as:
BorderLayout
panel to the dialog box that can be designed by the UI designer.
jbInit()
method in which JBuilder puts property setters and other initialization code used by the designers. The jbInit()
method will be invoked when using any of the constructors.To open the Dialog wizard, choose File|New, then double-click the Dialog icon on the General page.
The wizard contains the following fields:
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.
Displays the default name assigned to the dialog class. To rename the class, click in this field and type in a new name.
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.
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 */
See also