From: dando <on...@ya...> - 2001-05-26 04:47:44
|
Hey! Just want to say what a great job you did on the opengl port and I'm totally blown away by the demos. So far, I've had great success with using gl4java version 2.7.0 and GLCanvas works like a charm and so far all the demos that implement the canvas class compile perfectly in JBuilder 4.0. (One Caveat...WINDOWS USERS NOTE: It took me a while to figure out that you have to modify the PATH environment variable in your "autoexec.bat" file to include the path to the gl4java .dll files. I put them in my bin folder of my Java Plug-In but that didn't work. But the JRE will find your gl4java JAR files if you put them in the "lib/ext" folder. Go figure. Please include this tip in the FAQ file...it will save people some headaches or modify the install program to modify the "autoexec.bat" file) However, the demos using GLAnimPanel and GLJPanel do not work (esp. the swing demos), and my attempts to make a simple frame with a GLJPanel have failed. The same error message comes up... fetched GL/GLU functions succesfully ! setpixel failed could not open a GL widget -- GL CONTEXT can't create a GL context Is anyone else having problems like this in JBuilder 4.0? Does GLJPanel need to be initialized differently from GLCanvas? Why is the GL Context missing? Thanks in advance for your help... Danny Yoon |