Creating a Bean

See Also 

The IDE provides many templates that help you create JavaBeans components. The templates provide skeleton code for a non-visual beans. You can also create visual beans using the JFC/Swing template.

To create a JavaBeans component:

  1. Choose File > New File.
  2. In the New File wizard, select the JavaBeans Objects node in the Categories pane.
  3. Select the JavaBeans Component in the File Types pane and click Next.
  4. Enter the desired file name for the Bean and designate the location where you want to place it. Click Finish.

Notes:

For information about the JavaBeans component architecture, including how introspection works, see the JavaBeans web site at

See Also
Creating a Bean Event Set
Adding a Component to a Form
Deleting a Property or Event Set
Generating BeanInfo
Generating Getter and Setter Methods

Legal Notices