Re: Couple of questions
Posted by
Wade Walker on
Nov 16, 2010; 11:11pm
URL: https://forum.jogamp.org/Couple-of-questions-tp1889246p1913928.html
I did a test of JOGL 2 with no animator, and it seems to work fine. The attached file draws a single triangle, and only redraws it when the window is reshaped or something is dragged in front of it.
OneTriangle.javaTo build this example, just put it in a project with swt.jar (from
http://www.eclipse.org/swt/) and the JOGL 2 JAR and DLL files for your platform. Here's how it looks on CentOS 5.4:

It works on Windows 7/Vista/XP too (except for some XP systems that suffer from bug 429
http://jogamp.org/bugzilla/show_bug.cgi?id=429).