Created attachment 583 [details]
As reported here: http://forum.jogamp.org/NewtCanvasSWT-problem-td4030973.html
To recreate create a new eclipse view (plugin) as described here:
and put the attachment in the source.
Make sure you state the view in plugin.xml:
to see the view, you need to go to Window -> Show View -> Other... -> [category as described in plugin.xml] -> [view as described in plugin.xml]
In general the problem is another iteration of Bug 672 (https://jogamp.org/bugzilla/show_bug.cgi?id=672)
The solution there was to get the position of the parent. That solution though does not seem to work here, so we need a universal solution.
Control.toDisplay(int x, int y); provided by swt directly ( http://help.eclipse.org/indigo/nftopic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Control.html#toDisplay(int, int) ) gives the position of an element on the screen directly, and seems like a reasonable way to determine the position our element is supposed to have, without depending on different calculations of the window first and then the component
Fixed via bug 969 I assume. Otherwise we need to reopen it.