Hello,
I have a pretty nasty problem that does not go away.
I’m using a GLCanvas to render the OpenGL graphics to a pure AWT window upon request. The Canvas is a child of a Scrollpane and when ever AWT request redrawing the element, the OpenGL graphics are redrawn. Thats the part that works. How ever the graphics on the Canvas flicker. It looks like they are drawn and removed again shortly after.
I tried -Dsun.awt.noerasebackground=true to remove the problem. It worked, how ever it leads to major problems at the rest of my GUI. There are buttons within Panels with floating layout. Those move when the window is resized and then they leave traces on the background of the window.
Any ideas how to solve this?
Or is there any code needed to make it clearer?
Nitram