JOGL reshape problems?

I have been using JOGL for a few months now and my problem is that when I re-size a frame, the rendered image flashes and then disappears. Sometimes when I re-size or maximize the frame the image will come back but when I re-size it again the image flashes and it’s a coin flip whether or not the image will display. Is this a problem with double buffering? I guess I could fix this by making the frame.setResizable(false); but I ultimately want to be able to re-size the frame.

I wanted to know if anyone else has had problems with this. I also wanted to know if anyone came up with working solutions if they do have these problems.

Thanks,
-Jon

Ps -
If you need source code let me know.

You need to specify


-Dsun.java2d.noddraw=true -Dsun.awt.noerasebackground=true

as jvm arguments when starting your app.

You my friend are awesome. Thank you.