Login  Register

Re: JOGL Error in Eclipse on MacOSX

Posted by gouessej on Nov 03, 2010; 7:40pm
URL: https://forum.jogamp.org/JOGL-Error-in-Eclipse-on-MacOSX-tp1835239p1837106.html

Hi

Build JOGL 2.0 beta on Mac OSX from the source and let us know whether you reproduce this bug.

Wade's tutorial is excellent but the SWT OpenGL API including the GLCanvas he used is no more maintained since 2006 and quite buggy. There is no very reliable solution to mix SWT with JOGL, each approach has its limitations. The SWT_AWT bridge is silly, it returns a zero-sized visible AWT frame that has some strange behaviors when containing a canvas (the layout works bad, it is not a real frame but an embedded frame). If you need some help to use it, let me know. I should write a tutorial about this.

The best solution would be an implementation of NEWT for SWT.
Julien Gouesse | Personal blog | Website