You will need to create a BeanInfo file for your components. Find your component in the Projects window. Right-click on it and select "BeanInfo Editor". Make sure you want to create BeanInfo. Click on the "Designer" tab. Select the BeanInfo element at the top of the tree. The properties panel has properties for color and mono icons in 16x6 and 32x32. Set them in the path to png or gif files. They decide as resources, so they should be in your source tree. Usually I add the "resource" package inside the package that contains my component and puts the images there.
Then from Tools> Palette> Swing / AWT Components and add components from the project.
, , , , , .