problems with Swingset2 JColorChooser demo - jdk1.5.x

I’m facing a strange behavior of the Swingset2 JColorChooser demo. The animated bezier curve flashes around the screen instead of animating smoothly.

This happens with jdk 1.5.0_03 , _04 on three different machines:

  1. P4 3.2Ghz-HyperThreading- 1Gb ram, Matrox Parhelia, WinXP - jdk1.5.0_03
  2. P4 3.2Ghz-HyperThreading- 1Gb ram, Nvidia FX 5200, WinXP - jdk1.5.0_04
  3. P4 3.2Ghz-HyperThreading- 1Gb ram, Nvidia FX 5700, WinXP - jdk1.5.0_04

After running the demo for a few seconds the three machines crash.

Further tests outlined that the problem is related to P4 Hyper Threading.
When the HT is ON than the refresh problem pops up. If HT is OFF then the spline runs smoothly on the screen.

I hope someone of the Java2D team can give it a try to see what happens.

Cheers,

Mik

I believe this is a well known problem with the demo itself…

and you also well know that there’s a lot of people with HT machines…

Is there a solution for that paint problem ?