A BeanInfo class contains information about a bean, including properties, events, and methods. BeanInfo is an optional class, and you can choose what information is included in it.
To generate BeanInfo for a class:
The Properties node displayed in the left panel contains bean properties that conform to the JavaBeans specification. The properties in the right panel reflect characteristics and settings of objects in the IDE. Thus, in the BeanInfo Editor dialog box, you can set properties of the bean properties themselves.
The file classnameBeanInfo
is generated in the same
package as the class.
![]() |
Instead of having your BeanInfo class generated, you can write your
own BeanInfo class in the Source Editor, using the BeanInfo template to provide the
skeleton code. Choose
File ![]() |
To edit previously generated BeanInfo:
See also | |
---|---|
BeanInfo Editor Dialog Box
Creating a Bean Editing Source Files |