An implementation of the javax.media.opengl API that interacts with the SWT toolkit.
This implementation takes the basic JOGL Reference Implementation and modifies
it to use SWT widgets instead of the normal AWT widgets. To make use of it,
you need to set the system property opengl.factory.class.name
to the value org.j3d.opengl.swt.SWTRIDrawableFactory
This can be
done on the command line using:
java -Dopengl.factory.class.name=org.j3d.opengl.swt.SWTRIDrawableFactory ...
or using a privileged block of code:
AccessController.doPrivileged(new PrivilegedAction() { public Object run() { System.setProperty("opengl.factory.class.name", "org.j3d.opengl.swt.SWTRIDrawableFactory"); return null; } });
The code is licensed using the BSD-style license.