Login  Register

awt.GLCanvas vs opengl.swt.GLCanvas

classic Classic list List threaded Threaded
2 messages Options Options
Embed post
Permalink
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

awt.GLCanvas vs opengl.swt.GLCanvas

sasmaster
11 posts
Hi All. Is there an advantage using one of these versions of GLCanvas ?

awt.GLCanvas  or  opengl.swt.GLCanvas ?
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: awt.GLCanvas vs opengl.swt.GLCanvas

Sven Gothel
Administrator
2964 posts
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