Re: Re: Jogl and Eclipse RCP [message #436480] |
Fri, 09 September 2005 10:08 |
Eclipse User |
|
|
|
Originally posted by: sebastien.dilogos.com
I have installed this plugin :
http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/plat form-swt-home/opengl/opengl.html
and I use the gl-win32.dll for Windows XP.
My code look like that :
public void createPartControl(Composite parent) {
Vertical3DView v = new Vertical3DView();
ButtonPanel bp = new ButtonPanel(v);
Canvas canvas = new Canvas(parent, SWT.EMBEDDED);
Frame f = SWT_AWT.new_Frame(canvas);
f.setLayout(new BorderLayout());
f.add(v, BorderLayout.WEST);
f.add(bp, BorderLayout.EAST);
}
where Vertical3DView and ButtonPanel are two Jogl classes.
In a singl SWT application, this code work fine ! Then, what's the problem
with RCP, that's my question... :-)
thanks a lot,
Seb
>When you say that you've installed the OpenGL plugin, do you mean that you've
>created a new plugin that wraps the jogl.jar file? If so, did you also
include >the platform-specific library (*.dll for Windows, *.so for Unix)
inside your >plugin?
>Incidentally, since JOGL uses AWT, are you using the SWT_AWT bridge to make
it >work with RCP? Or through some other mechanism?
>On Thu, 08 Sep 2005 04:14:20 -0600, Seb Vandamme <sebastien@xxxxxxxxxxx>
wrote:
>>Hi everybody,
>>here is my problem :
>>I try to use some Jogl code in an Eclipse RCP project (Eclipse 3.1), but I
>>have the following error message :
>>Unhandled event loop exception
>>Reason:
>>net/java/games/jogl/GLEventListener
>>I have installed the OpenGL plugin and (I think) everything needed to work,
>>but it doesn't work !!!
>>What have I missed ?
>>Thanks a lot
>>Seb
|
|
|
Powered by
FUDForum. Page generated in 0.03299 seconds