Login  Register

Re: The Current State Of JOGL/SWT Integration

Posted by rhatcher on Oct 02, 2012; 11:25pm
URL: https://forum.jogamp.org/The-Current-State-Of-JOGL-SWT-Integration-tp4026329p4026334.html

As always, thanks for the response.

I'll give NewtCanvasSWT a try.

One additional area related to SWT integration is whether there are any changes coming for mouse and keyboard event handling.  As we know one of the most heinous features of JOGL 1.1.1a was its tight coupling to the AWT.  JogAmp JOGL has taken some nice steps to divorce OpenGL code from having to know too much about the platform on which it's sitting, and along these lines on the AWT side of the fence there are facilities to repackage AWT mouse and keyboard events into corresponding newt events (e.g. AWTKeyAdapter).  I can always get at the SWT events as an ordinary SWT event listener, but do you have any plans for a similar generalization of SWT events into newt events (SWTKeyAdapter and so forth)?  Or... maybe it's in there and I'm not seeing it, which happens more often than I would like to admit :-/.

At this point I'm just wanting to get clear on the project's intentions; it may have some bearing on how we juggle some existing code around as we continue the switchover to E4/SWT.