Creating a BeanInfo class
Now it’s time to prepare the component to be added in NetBeans Palette. First of all you need to prepare 4 images in order to locate your component in NetBeans Palette.
- As NetBeans recommend they should be in a format with transparent background, either GIF or PNG.
- Two of them with a 16×16 pixels size and the others 32×32 pixels size.
- One 16×16 image and other 32×32 image must be in black and white. The others in color.
Next, create a new package in the project called
Drag and drop earlier…
Ver la entrada original 847 palabras más