I am using Windows Builder Pro in my Eclipse Helios. In NetBeans I know how to add SwingX palette. How can I add SwingX palette in Windows Builder?
Was playing around with it, and I have the solution.
SwingX ships in 2 jars- swingx-all-1.6.3.jar
and swingx-beaninfo-1.6.3.jar
, the second one contains BeanInfo
classes. These are necessary if you want to import them as java beans in any IDE. So you need to merge them into a single library.
Here's what worked for me:
swingx
.swingx-all-1.6.3.jar
. Make a backup of META-INF/MANIFEST.MF
, say to ../backup.mf
.swingx-beaninfo-1.6.3.jar
to the same location. Its manifest will overwrite the previous one, hence we needed to backup.jar -cvfm swingx-combined.jar ../backup.mf *
This will create a fresh jar that has both the manifest (which lists all java beans within the jar) and the required BeanInfo
classes.
Import this jar into WindowBuilder and you'll be able to add the required SwingX beans from it.