How to set initial window size in Java OpenGL
- by tommy-susanto
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....