Posted by
Sven Gothel on
URL: https://forum.jogamp.org/GLCanvas-in-SWT-Problem-with-a-Text-widget-tp4025739p4025799.html
On 08/05/2012 06:32 PM, Zib [via jogamp] wrote:
> Hi,
>
> So I installed the openjdk6 ... I updated the alternatives with sudo
> update-alternatives --config java etc... but it seems that eclipse is still
> using jre6 and not openjre6 ... how to fix this ?
>
> Anyway, I tried with the SWT/AWT bridge, with GLCanvas coming AWT, I get the
> same crash! and my simtoms are quite the same as the ones in the bug reported.
Sorry, I have no time to dig into this bug .. yet.
Just returned from siggraph.
>
> I'm using ubuntu 10.10 (wow, I thought it was 11.04, the last one before unity
> lol, so not supported any more!)
>
> Is there a tutorial about how to use NewtCanvasAWT(/SWT also!) ?
There are multiple unit tests in jogl/src/test:
sven@risa:~/projects/JOGL$ grep -RIl NewtCanvas jogl/src/test
jogl/src/test/com/jogamp/opengl/test/junit/jogl/acore/TestSharedContextNewtAWTBug523.java
jogl/src/test/com/jogamp/opengl/test/junit/jogl/newt/TestSwingAWTRobotUsageBeforeJOGLInitBug411.java
jogl/src/test/com/jogamp/opengl/test/junit/jogl/swt/TestNewtCanvasSWTGLn.java
jogl/src/test/com/jogamp/opengl/test/junit/jogl/swt/TestSWTJOGLGLCanvas01GLn.java
jogl/src/test/com/jogamp/opengl/test/junit/newt/parenting/NewtAWTReparentingKeyAdapter.java
jogl/src/test/com/jogamp/opengl/test/junit/newt/parenting/TestParenting01bAWT.java
jogl/src/test/com/jogamp/opengl/test/junit/newt/parenting/TestParenting01cAWT.java
jogl/src/test/com/jogamp/opengl/test/junit/newt/parenting/TestParenting02AWT.java
jogl/src/test/com/jogamp/opengl/test/junit/newt/parenting/TestParenting03AWT.java
jogl/src/test/com/jogamp/opengl/test/junit/newt/parenting/TestParenting01aAWT.java
jogl/src/test/com/jogamp/opengl/test/junit/newt/parenting/TestParentingFocusTraversal01AWT.java
jogl/src/test/com/jogamp/opengl/test/junit/newt/parenting/TestParenting01cSwingAWT.java
jogl/src/test/com/jogamp/opengl/test/junit/newt/parenting/TestTranslucentParentingAWT.java
jogl/src/test/com/jogamp/opengl/test/junit/newt/parenting/TestParentingOffscreenLayer02NewtCanvasAWT.java
jogl/src/test/com/jogamp/opengl/test/junit/newt/parenting/TestParenting01aSWT.java
jogl/src/test/com/jogamp/opengl/test/junit/newt/parenting/TestParenting04AWT.java
jogl/src/test/com/jogamp/opengl/test/junit/newt/parenting/TestParenting04SWT.java
jogl/src/test/com/jogamp/opengl/test/junit/newt/TestCloseNewtAWT.java
jogl/src/test/com/jogamp/opengl/test/junit/newt/TestListenerCom01AWT.java
jogl/src/test/com/jogamp/opengl/test/junit/newt/TestEventSourceNotAWTBug.java
jogl/src/test/com/jogamp/opengl/test/junit/newt/TestFocus02SwingAWTRobot.java
jogl/src/test/com/jogamp/opengl/test/junit/newt/TestWindowClosingProtocol03NewtAWT.java
jogl/src/test/com/jogamp/opengl/test/junit/newt/TestFocus01SwingAWTRobot.java
>
> thank you!
>
~Sven