When switching the tab of toolwindow, the canvas flickers

Hello,

When switching the tab of toolwindow, the canvas flickers.

I’m trying to build a GLCanvas in Swing JPanel, but I have a problem to switch toolwindow tab, the CLCanvas is flickering(the content of the entire screen is displayed on the canvas, and it disappears quickly)

The development scenario is to use IDEA(Intellij) for development under the window platform.

we try to inserting the following line into your main() method:

System.setProperty(“sun.awt.noerasebackground”, “true”);

But it didn’t take effect.

Please help us, Thanks.
wuyouke

The official JogAmp forum is much more appropriate to ask for help on JOGL. I think I already answered your question, I advised you to use GLJPanel instead.