Login  Register

Re: GLHandler refuse to init

Posted by Teapot on Feb 10, 2014; 11:57pm
URL: https://forum.jogamp.org/SOLVED-GLHandler-refuse-to-init-tp4031535p4031537.html

 1. all swing components has to be manipulated from the "event dispatch thread"
I've tested both invokeAndWait and invokeLater and they didnt seem to have any effects (from an user POV). I'm keep it in mind but for now I'll stick to my "dont add stuff that does nothing" guideline.

 2. you need to re-validate the JFrame
Just what I need! validate() works but pack() doesnt. Probably has something to do with my "screw Java guidelines, I" approach. Case closed.

 Simply use a JogAmp NEWT GLWindow
I've considered but I have a fairly big code base and I'm not really comfortable with opengl/jogl yet so I'll hybridize for now. Sorry for my stubbornness for I'll continue troubling the forum with my problems.

Off-topic: How do I quote username like you did?