JavaBean wizard

This is a feature of JBuilder Professional and Enterprise.

You use the JavaBean wizard to begin creating a JavaBean.

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.

Class Name

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

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

Allow Only JavaBeans

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

Public

Makes the JavaBean public. This checkbox is checked by default.

Generate Main Method

Places the main() method within your bean.

Generate Header Comments

Adds header JavaDoc comments to the top of the generated file.

Generate Default Constructor

Adds a default constructor (one without any parameters) to your bean. This checkbox is checked by default.

Generate Sample Property

Adds a property called sample to your bean.

See also