Login  Register

Re: NativeWindowException: Unable to lock surface

Posted by Celine on Aug 01, 2013; 8:45am
URL: https://forum.jogamp.org/NativeWindowException-Unable-to-lock-surface-tp4029205p4029696.html

Hi,

I've reproduced same bug you described with JDK1.7 on Linux, you can read my post here.
This is not a JOGL bug but, in my opinion, a JDK bug. I've filed 2 bug reports:
Oracle: http://bugs.sun.com/view_bug.do?bug_id=8006421
Eclipse: https://bugs.eclipse.org/bugs/show_bug.cgi?id=397985

I encourage you to complete, add test case, vote for these bugs.
Maybe, they will restore the old behavior (JDK 1.6) maybe not!
While waiting for their decision, I replaced the AWT GLCanvas by a NewtCanvasAWT and now I'm doing some tests with a NewtCanvasSWT in a RCP app.
On this point, where can I find some tutorials/demos/doc for NewtCanvasSWT?

Thanks,
Celine