I added a method to a class but it doesn't appear in the list of methods for that type in the Visual Composition Editor. Why not?
Created May 4, 2012
If your class already has an associated BeanInfo class, the BeanInfo class provides the sole determination of which methods define "features" in your bean.
If you create a method outside the BeanInfo editor, the BeanInfo has no idea that you intend that method to be a feature. If you use the Visual Composition Editor (VCE), the VCE asks the BeanInfo which methods are available and it doesn't list your method.
If you add methods via the BeanInfo editor's "Create method feature" function, the BeanInfo automatically knows about them.
See also |