If you want to add a bean to the Palette window or other applications, you might want to specify one or more icons for that bean.
To specify a bean's icon:
You can create up to four icon images for your bean: 16x16 color, 16x16 monochrome, 32x32 color, and 32x32 monochrome. If you create only one icon, 16x16 color is the most commonly used format.
If you want the icon to appear seamlessly in toolbars, make the background of your image transparent.
If you want to search for your image, click the ellipsis (...) button to the right of the Name field. The Open Image File dialog box is displayed, showing your mounted filesystems. Expand the nodes until you find your image, select the image, and click OK.
The BeanInfo class for your bean is regenerated, and code is created to set and get the bean's icon.
See Also | |
---|---|
Mounting a Filesystem
BeanInfo Editor Dialog Box Adding a Bean to the Palette Window |