Java SWT image generator on RedHat

Has anyone created an image generator using Java SWT on linux?

I have a Java image generator using AWT/Swing (passed in all the values and it created a png file that I then pushed back to EggPlant) but is not going to work on my new app. Any examples would be greatly appreciated.