Why is it that an AWT Frame that contains a GLCanvas flickers when it is resized? This is especially annoying when the resize is “continuous”, e.g. when the Frame is a part of a splitted UI. The flicker color is the background color of the Frame - it seems that the Frame is always repainted before the GLCanvas, even if ignoreRepaint is set to true for the Frame. Is there a known work-around for this behaviour?
I’m restricted to use the Frame as a container for my GLCanvas, since I’m using SWT for the GUI and SWT only allows to integrate with AWT components via Frame containers. This leads me to the next question: is a better SWT integration planned for JOGL (i.e. direct integration to Composite containers in SWT)? This kind of thing would be extremely useful, in my opinion. An example of such integration would be the SWT OpenGL plugin, which only has rudimentary OpenGL support at this moment:
http://dev.eclipse.org/viewcvs/index.cgi/platform-swt-home/opengl/opengl.html?rev=1.6
Cheers