I’ve added a Swing button to my application that popus a JDialog when I click it that rints out a list of various diagnostic infromation. In my main JFrame, I have a JPanel which contains a GLCanvas. My GLCanvas is rendering a scene that is constantly updated with an Animator. Unfortunately, when my JDialog popus up, it flickers so badly I can’t read anything in it. It also contains artifacts of other portions of the visible screen. If I use a GLJPanel instead, the flickering goes away, but performance in rendering suffers. I know a GLJPanel is supposed to have good perfomance under Mustang b97, but I consistantly find it to be much slower than a GLCanvas.
I’d really like to be able to use both a JDialog and a GLCanvas. Is there a way to do this? I’m using JSR 231.