How to set initial window size in Java OpenGL
Posted
by tommy-susanto
on Stack Overflow
See other posts from Stack Overflow
or by tommy-susanto
Published on 2010-03-15T10:24:46Z
Indexed on
2010/03/15
10:29 UTC
Read the original article
Hit count: 440
Hi guys... I just built a Java OpenGL application in Eclipse... and when i was trying to export the application using EclipseP5Exporter, it requires me to initialize the window size (not viewport size, a window may contain several viewports).
I already googled some solutions in the net but I can't seem to get anything useful..
I've tried the method : "glutInitWindowSize(int width, int height);"
but it seems to work only in C and python openGL.
even if i append the glut before the method (glut.glutInitWindowSize()) eclipse doesn't recognize that method..
So if you guys have any suggestions please let me know...
Thank you....
© Stack Overflow or respective owner