Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Re: Re: Jogl and Eclipse RCP
Re: Re: Jogl and Eclipse RCP [message #436480] Fri, 09 September 2005 10:08
Eclipse UserFriend
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
Previous Topic:Update Manager and proxy settings
Next Topic:IMenuManager
Goto Forum:
  


Current Time: Mon Dec 09 07:01:24 GMT 2024

Powered by FUDForum. Page generated in 0.03299 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top