LWJGL Forum

Programming => Lightweight Java Gaming Library => Topic started by: sir_wojciech on November 19, 2005, 15:40:17

Title: AWTGLCanvas vs. swt binding?
Post by: sir_wojciech on November 19, 2005, 15:40:17
What is the diffrence between AWTGLCanvas which comes with LWJGL and the swt binding from http://www.realityinteractive.com/software/oss/index.html#SWTOGL? Can I use in AWTGLCanvas Swing too? And if yes how? Also are there any good tutorials for the swt binding and AWTGLCanvas?

Thanks in advance!
Title: AWTGLCanvas vs. swt binding?
Post by: Evil-Devil on November 21, 2005, 17:25:22
For AWTGLCanvas examples the examples in the source distribution. Don't know if they moved them to the binary distribution too.
Title: AWTGLCanvas vs. swt binding?
Post by: Odeamus on November 22, 2005, 07:13:23
And for the SWT part you might want to take a look at this: http://www.eclipse.org/swt/opengl/

O.
Title: AWTGLCanvas vs. swt binding?
Post by: ilazarte on January 04, 2006, 09:45:45
I played around with the swt opengl sample, 195 or 203, something around there...  i couldn't get it to find the GLGanvas swt class and one other whose name I can't remember right now.  If anyone knows which jar i download to provide it please share!  i'd like to continue working with swt, but that particular snippet was a little discouraging.
Title: AWTGLCanvas vs. swt binding?
Post by: Odeamus on January 04, 2006, 09:48:09
What version of eclipse you have? You need the 3.2M3 at least.
Title: AWTGLCanvas vs. swt binding?
Post by: ilazarte on January 04, 2006, 10:39:37
Quote from: "Odeamus"What version of eclipse you have? You need the 3.2M3 at least.

Sigh, that explains it.  I'm using 3.1.  Hours of time I wasted on that.  Thanks for the tip Odeamus.
Title: AWTGLCanvas vs. swt binding?
Post by: Odeamus on January 04, 2006, 11:08:20
Quote from: "ilazarte"
Quote from: "Odeamus"What version of eclipse you have? You need the 3.2M3 at least.

Sigh, that explains it.  I'm using 3.1.  Hours of time I wasted on that.  Thanks for the tip Odeamus.

No problem. So not to confuse anybody too much. Actually you need the 3.2M3 version of SWT, not the eclipse platform(IDE whatever). You can download the SWT separately and use older version of eclipse if you want. :)
Title: AWTGLCanvas vs. swt binding?
Post by: ilazarte on January 04, 2006, 11:38:32
lol, thanks for the clarification.  i just spent some time reading the eclipse release plan, lol.  ok, i'll be downloading swt later sometime today.