Login  Register

Re: JOGL Error in Eclipse on MacOSX

Posted by gouessej on Nov 04, 2010; 9:57pm
URL: https://forum.jogamp.org/JOGL-Error-in-Eclipse-on-MacOSX-tp1835239p1844971.html

Ric Wright wrote
Thanks for the reply.  I understand about the ancient characteristics of SWT GLCanvas.  I've been doing this a while myself... :-)  A write up - somewhat out of date now - is here:

http://www.geofx.com/html/OpenGL_Eclipse/OpenGL_Eclipse.html

And while AWT_SWT is perhaps silly, it works for me.  I'd just like to avoid the heavyweight approach of using AWT.  I have heard several people refer to NEWT, but the documentation seems to be practically non-existent, but perhaps I just missed it.  And I cannot find any sign of the NEWT for SWT you mention.  Can you post a pointer to the documentation and/or demo?
Actually your example works in trivial situations but neither in "complicated" GUIs (mix of lots of AWT and SWT components especially on Linux, some of them keep frozen and not fully drawn :s) nor with the TraceGL and DebugGL classes (it crashes almost immediately in the GLDrawableHelper).

Sven suggested me to write this implementation (NEWT for SWT), it does not exist yet.
Julien Gouesse | Personal blog | Website