DZone Forums
Go Back   DZone Forums > Community > Tools & IDEs > Eclipse
Reload this Page Developing application with JOGL and Eclipse
Notices
Reply
 
LinkBack Thread Tools Display Modes
  (#1 (permalink)) Old
Member
 
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Join Date: Jun 2008
Default Developing application with JOGL and Eclipse - 06-04-2008, 12:33 PM

Hi,
I am developing an application involving 3D graphics using JOGL. I did this with SWING/AWT but now I have to develop it in Eclipse RCP. I would like to continue to use SWING/AWT programming model when I migrate app to Eclipse.
I tried using SWT_AWT bridge but I got error :
Quote:
Error creating view Reason: javax/media/opengl/GLEventListeneer
And code looks like this:
Code:
...in createPartContol in ViewPart

public void createPartControl(Composite parent) {
		Composite swtAwtComponent = new Composite( parent, SWT.EMBEDDED);
		Frame frame = SWT_AWT.new_Frame( swtAwtComponent );
		
		GLCanvas glCanvas = new GLCanvas();
		GLEventListener listener = new MyGLEventListener( glCanvas );
		glCanvas.addGLEventListener(listener );
		frame.add( glCanvas );
	}
I googled for solution and found some articles for using OpenGL with Eclipse but as I mentioned before I would like to use programming model I used unil now, and all this articles consider different one.
So if someone can point me to some articles which may have solution or
can give same advice it would be very helpful to me.
Thanks
P.S. Sorry cause my english isn't very fluent.
Reply With Quote
Reply

Tags
eclipse, jogl

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Developing a custom annotation for a marker jasFrank Eclipse 0 02-02-2009 05:18 AM
Eclipse RCP application don't want to run from DVD fldrog Java 0 05-25-2008 04:09 PM
Application fails on Mac - can't load application class kam_83 Eclipse 0 05-02-2008 11:21 AM
help developing java launcher plugin crafty78 Eclipse 0 04-18-2008 08:08 AM
How to change the Target Platform when developing a RCP App? joco Eclipse 0 03-12-2008 08:33 AM


Copyright 1997-2009, DZone, Inc.
vBulletin Skin developed by: vBStyles.com