This is a feature of JBuilder Professional 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 New page.
The wizard contains the following fields:
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 the new name or choose an existing name from the drop-down list.
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 bring up a browser if you want to search for a base class that is not included in this 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) 2001</p> * <p>Company: </p> * @author unascribed * @version 1.0 */
See also