Re: mouse handling on AWT and also NEWT
Posted by Cork on Nov 25, 2010; 7:57am
URL: https://forum.jogamp.org/mouse-handling-on-AWT-and-also-NEWT-tp1960775p1965530.html
I checked the src/demos/newt
NEWTTest1.java
TaskManagerTest1.java
TaskManagerTest2.java
but none of these look like a good starting point.
I also found a 'GLNewtRun.java' which seems to wrap some other demo? Again not ideal for a starting point. Did I clone the wrong demos branch or something? I seem to remember there used to be a NEWT desktop gears...
So imagine a new user is coming to look at JOGL2, which demo source code file best represents running NEWT on the desktop? It only needs to be rotating triangle or something, but should clearly demonstrate the best practice for creating the display, threading, and tearing it down again.