Re: GLCanvas in SWT, Problem with a Text widget
Posted by
gouessej on
URL: https://forum.jogamp.org/GLCanvas-in-SWT-Problem-with-a-Text-widget-tp4025739p4025802.html
Hi
You have to go to Window -> Preferences -> Java -> Installed JREs
Then, click on "Add", add OpenJDK.
After that, go to "Debug Configurations..." or "Run Configurations..." -> tab "Main" -> section "Java Runtime Environment", click on "Runtime JRE" -> "Installed JREs..." and select OpenJDK.
You can use NewtCanvasAWT like you already do with SWT/AWT bridge and AWT GLCanvas except that you should use NEWT for the event handling. NewtCanvasSWT doesn't require any bridge, just put it into an SWT Composite. I've just added a suggestion into the bug report as I have never reproduced these crashes under GNU Linux.