From http://jogamp.org/wiki/index.php/Using_JOGL_in_AWT_SWT_and_Swing