JDialog content disappearing

Hi everyone,
I have a JOGL application featuring a GLCanvas in a JFrame. I had the usual flickering problems due to the lightweight / heavyweight components mix that I was able to
solve by using the jvm argument -Dsun.java2d.noddraw=true and JPopupMenu.setDefaultLightWeightPopupEnabled(false); for the menus.
I am now facing a new issue: whan I create a model JDialog that overlaps with the GLCanvas wirth an Animator running, many of the components in my dialog simply
do not show up. They appear when I resize or move the mouse over the dialog area. Any hints on how to solve the problem ?

PS I am using windows XP Java 1.5.02 and Jogl 1.1.0

It’s possible that the Animator is hogging all of the CPU and preventing the normal AWT / Swing repainting mechanisms from working properly with your JDialog. Have you tried using the FPSAnimator to throttle the CPU consumption?

I think you were right: using FPSAnimator with a low frame-rate (like 10fps) solves the problem.
The only thing that doesn’t fit with your diagnosis is that the CPU wasn’t totally hogged by the animator.
I usually run the program from eclipse and have browser and music playing at the same time and I don’t
observe unresposive GUI or such things. Is the hogging situation limited to the threads running on the JVM
launching the app or what ?
Anyhow now the problem becomes how to get a higher frame rate!
Thanks