You can expand the IDE by adding your own beans to the Component Palette for use in visual design. Once the bean is installed, you can select it in the Component Palette and add the bean to your forms. You must compile a bean before you can add it to the Component Palette. You can add class files (.class) or serialized prototypes (.ser).
If the bean was created outside of the IDE, you must mount its JAR or directory before adding it to the Component Palette.
To add a bean from the Explorer:
The new bean appears on the Component Palette in the tabbed pane that you selected.
To add a bean from a JAR file:
A list appears with available beans.
If the beans you expect to see are not displayed, the required attribute Java-Bean: True is missing from the bean's entries in the JAR manifest. See the JavaBeans specification for information on proper packaging of beans. The specification can be found at http://java.sun.com/beans/docs/spec.html.
The new bean appears on the Component Palette in the tabbed pane that you selected.
Some beans have their own icons. If the bean you add does not have an icon, the IDE assigns a default icon. To see the name of each installed bean in the Component Palette, position the pointer over the bean to view the tool tip.
![]() |
If you change a JavaBeans component that is used
in a form that you are developing, those changes are not automatically reflected
in the Form Editor. To get those changes to appear in the form, recompile the
component. Then reload the form by pressing Ctrl-R in the Form Editor or the
Source Editor.
To reload a form, do one of the following:
|
See Also | |
---|---|
Creating a Bean
Mounting a Filesystem Customizing the Component Palette Adding a Component to a Form Setting a Bean's Icon |