Re: Problem changing SWT layout
Posted by
gouessej on
Oct 25, 2013; 5:14pm
URL: https://forum.jogamp.org/Problem-changing-SWT-layout-tp4030374p4030379.html
There are several developers claiming that some controls gets disposed when moved below another one on StackOverflow and anyway, if the GLCanvas becomes invisible, it can destroy its OpenGL context, this is a known limitation. Have you tried to use a StackLayout instead?
I have looked at the source code but this method isn't final, any class can override it:
http://kickjava.com/src/org/eclipse/swt/widgets/Control.java.htm