Hello everyone!
I just tried some very basic code from the book “Learning Java Bindings for OpenGL (JOGL)” by Gene Davis.
In the book, he imports net.java.games.jogl.* but my system can’t find this. So I used javax.media.opengl.* instead.
Using Eclipse on Windows, the code looks all fine except these lines:
[quote]GLCanvas glcanvas = GLDrawableFactory.getFactory().[b]createGLCanvas/b;
…
public void init(GLDrawable gld) {
GL gl = gld.[b]getGL/b;
GLU glu = gld.[b]getGLU/b;
…
}
[/quote]
When I try to look for information about GLDrawable, Eclipse says
[quote]javax.media.opengl.GLDrawable
Note: This element neither has attached source nor attached Javadoc and hence no Javadoc could be found.
[/quote]
What should I do best to get the code running?
Thanks in advance, Michael