Reply – Re: JOGL 2 support for Ardor3D, JMonkeyEngine 3, jzy3d and NiftyGUI
Your Name
Subject
Message
or Cancel
In Reply To
Re: JOGL 2 support for Ardor3D, JMonkeyEngine 3, jzy3d and NiftyGUI
— by gouessej gouessej
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