Re: awt.GLCanvas vs opengl.swt.GLCanvas

Posted by Sven Gothel on
URL: https://forum.jogamp.org/awt-GLCanvas-vs-opengl-swt-GLCanvas-tp4013092p4013113.html

On 05/24/2012 10:17 AM, sasmaster [via jogamp] wrote:
> Hi All. Is there an advantage using one of these versions of GLCanvas ?
>
> awt.GLCanvas  

This one *is-an* AWT Canvas, fitted w/ GLAutoDrawable functionality.

> or  opengl.swt.GLCanvas ?

This one *is-an* SWT Canvas, fitted w/ GLAutoDrawable functionality.

Both are supposed to do the same thing from the JOGL perspective
but one is to be added to an AWT UI tree, and the other to an SWT UI tree.

~Sven