I played with him, and I have a solution. SwingX is sent to 2 jars of swingx-all-1.6.3.jar and swingx-beaninfo-1.6.3.jar , the second contains BeanInfo classes. They are needed if you want to import them as java beans into any IDE. Therefore, you need to combine them into one library.
Here is what worked for me:
- Create a directory called
swingx . - Go to it and release
swingx-all-1.6.3.jar . Make a backup copy of META-INF/MANIFEST.MF , say ../backup.mf . - Discard
swingx-beaninfo-1.6.3.jar in the same place. His manifest will overwrite the previous one, so we had to make a backup. - Make sure you are in the same directory where you extracted the jars, and create a new jar that combines both of these functions using the following command line:
jar -cvfm swingx-combined.jar ../backup.mf *
This will create a new jar that has both a manifest (which lists all java beans in the jar) and the required BeanInfo classes.
Import this jar into WindowBuilder, and you can add the required SwingX beans from it.
source share