Skip to main content
gamedev.net
🔒 Locked

Using OpenGL in Java

Started by someone2 Oct 7, 2006 at 7:07 PM 1 replies 850+ views
Original Post
someone2
someone2
Hi, I was wondering what the easiest way to use OpenGL in Java is. I don't have a very strong experience in Java, but I just wanted to make an applet that uses OpenGL. Is it possible? If not, what is the easiest way to create OpenGL in a desktop program? Should I use Swing? Swt? Any links to tutorials would be much appreciated. Thanks a lot for all the help in advance
OrangyTang
OrangyTang
Both LWJGL and Jogl provide OpenGL access for a Java program, and both can work in an applet (although they usually require some special tinkering for applets to get around security/sandbox issues). They can also be used for desktop app - both will work with Swing, and LWJGL will also work with SWT.

Personally I'd go with LWJGL, it's more reliable and better supported. You might also want to look as Webstart as a halfway method of doing a desktop app but with simple deployment.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.