hi guys,
Frame.pack() doesn’t work correctly on Mac OS X, so none of the NeHe tutorials available at http://pepijn.fab4.be/nehe/index.html work on Macs.
Could someone (pepijnve?) please update them with a workaround?
The workaround in this case would be to set the Frame size explicitly. The code in question is in GLDisplay.java method start(). Just before we make frame visible, or instead of calling Frame.pack(), we need to set Frame size.
I filed a bug against Mac OS X 1.4.x and I’ll see that it gets fixed for the next release.
One more thing, the NeHe jar files seem to have duplicate “common” src file directories.
Thanks guys for porting the demos over to jogl, I was doing similar thing porting them over to gl4java a few years ago.
cheers