Adding a Bean to the Palette Window
See Also
You can expand the IDE by adding your own beans to the Palette window for use
in visual design. Once the bean is installed, you can select it in the Palette
window and add the bean to your forms. You must compile a bean before you can
add it to the Palette window. You can add class files (.class) or serialized
prototypes (.ser).
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 Palette window, position the pointer over the bean to
view the tool tip.
- If you alter a JavaBeans component that is used
in a form, those changes are not automatically
reflected in the GUI Builder. To apply any changes you have made to a component
and cause them to appear in the form, recompile the component. Then reload
the form by pressing Ctrl-Shift-R in the GUI Builder or the Source Editor.
To add a bean to the Palette window:
- Choose Tools > Palette.
- If you want to create a new palette category for the bean, click New Category
and enter the desired name before you add the bean.
- Click Add from JAR, Add from Library,
or Add from Project and complete the wizard to add the bean.
- You can also add a bean to the Palette window by
right-clicking the bean's node in the Projects window choosing
Tools > Add To Palette.
- See Also
- Adding a Component to a Form
Legal Notices