Login  Register

Re: Where lace nessesary files for jogl in Win32?

Posted by Wade Walker on Apr 12, 2015; 9:23pm
URL: https://forum.jogamp.org/Where-lace-nessesary-files-for-jogl-in-Win32-tp4034267p4034271.html

The use of "import net.java.games.jogl" looks like your code was originally written to JOGL 1 (the original version of JOGL, maintained by Sun before they went out of business). JOGL 2 is based on JOGL 1, but it's been updated and changed over the years, so some packages are in a different place and some parts of the API are different. You can see examples at http://jogamp.org/wiki/index.php/Using_JOGL_in_AWT_SWT_and_Swing of how to use JOGL 2 with the various window toolkits.

If you have a lot of JOGL 1 code lying around and you don't want to convert it to JOGL 2, you might just revert back to JOGL 1 and keep using that if it works for you :)