Have you used a profiler to work out what parts of the program are taking the longest to run? It might be interesting to compare the profiling results between running the same tasks in each JVM - you may either find a bug in the JVM or libraries, or some inefficiant code.
Ok maybe I reformulate, the whole aplication goes fast enough, only the GUI render process gives me this feeling. I got this feeling just by running the GUI once with java 1.42 and once with 1.5. When I use 1.4 and I resize a frame it goes preaty fast, the same operation under 1.5 I have this "martix" effect I move the mouse(to resize) and then the frame reacts(resizes) slowly (like the "slow motion" scenees from matrix).
Which platform are you running on? (Win/Lin/...) I had two really bad days figuring out what my first really really simple draft for the scjd application was doing instead drawing the swing-ui. It looks like my program is fine, but swing is buggy, at least with windooze/ati (and not watching a movie on the desktop ;-) ) Have a look at the Swing Bugthread. If you don't mind, please try the switch from my posting, if you experience major speedups, too.
You've gotta fight it! Don't give in! Read this tiny ad:
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth