|
How can I associate an icon with a bean added to the palette? |
|
|
You need to create and compile a BeanInfo class for your bean. The icon is supplied by the Icon property of BeanInfo.
To do this simply and quickly, expand the respective class node in the Projects View, right-click on the Bean Patters node and select BeanInfo Editor in the menu and edit the properties as needed.
Source: NetBeans User FAQ
Related Tips
|
Page 1 of 0 ( 0 comments )
You can share your information about this topic using the form below!
Please do not post your questions with this form! Thanks.