When switching the tab of toolwindow, the GLCanvas in Swing JPanel flickers
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: