Login  Register

Re: JOGL 2 support for Ardor3D, JMonkeyEngine 3, jzy3d and NiftyGUI

Posted by gouessej on Jul 08, 2016; 2:10pm
URL: https://forum.jogamp.org/JOGL-2-support-for-Ardor3D-JMonkeyEngine-3-jzy3d-and-NiftyGUI-tp1706747p4036893.html

This canvas should have been named JoglNewtAwtCanvas as it extends NewtCanvasAWT.

Rather call JoglNewtCanvas.getCanvas().getNEWTChild().addMouseListener() and use com.jogamp.newt.event.MouseListener. I assume that it is by design so that your code depends on a cross-platform API (NEWT) that works both under desktop and embedded environments rather than on AWT. However, I thought that the AWT events were generated and sent.
Julien Gouesse | Personal blog | Website