Porting a working Jogl program (equivalent to the “gears” demo) to my new Mac using Eclipse, compiles OK, but I get an exception at run-time indicating its improper to add my glcanvas to a frame and advises I should add the glcanvas to the frame’s content pane. While this may be correct using a standard setup, is there a workaround? Has anyone run into this problem? Seem to be inherent in the JVM.
Tried running from Eclipse and command line - got same results.
I’m new to the Mac and Eclipse (I’ve been using NetBeans on Windows and Linux) so, it may be cockpit error.