JavaBean Wizard

You use the JavaBean Wizard to specify the name of your bean, the package it will be in, and the class it extends.

To display the JavaBean Wizard, choose File|New, then click the JavaBean icon.

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 bean 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 in the Base Class To Inherit From drop-down list to the JDK and Swing classes.

Allow Only JavaBeans

Warns you if you try to extend a Java class that is not a valid JavaBean.

Generate Main Function

Places the main() function within your bean.

Generate Sample Property

Adds a property called sample to your bean.

See also:
Creating JavaBeans with BeansEpxress: Generating a bean class






.