Login  Register

Re: question about the GLCanvas and GLJPanel

Posted by gouessej on Mar 21, 2012; 9:21am
URL: https://forum.jogamp.org/question-about-the-GLCanvas-and-GLJPanel-tp3844025p3845094.html

GLJPanel is a Swing panel whereas GLCanvas is an AWT canvas, not a panel. You put your JOGL canvas into a JPanel. Maybe you should override the method update(Graphics g) of your test panel in order to force it to call paint(Graphics g).
Julien Gouesse | Personal blog | Website