Login  Register

Re: Where is GL.java?

Posted by spectual on Oct 09, 2010; 7:22pm
URL: https://forum.jogamp.org/Where-is-GL-java-tp1669725p1671745.html

Thanks. Might come in handy sometime.

While searching the repositories, I came across the javadoc files and attached them in eclipse and now eclipse names the arguments correctly

Btw, maybe I should file a bug report but just thought I'd mention it.

There seems to be a bug in GLWindow of newt on windows 7 64 bit. If I specify my client area to 800 x 600 and my window is decorated, the opengl view is partially hidden under the decoration (positioned at 0, 0 of the window and not the client area). If decoration is turned off, the opengl view is viewed correctly.

Here's my initialization code:

window = GLWindow.create(glCaps);
window.addGLEventListener(this);
window.addWindowListener(this);
window.setUndecorated(false);
window.setSize(800, 600);
window.setVisible(true);