Login  Register

Re: question about the GLCanvas and GLJPanel

Posted by elect on May 09, 2012; 11:49am
URL: https://forum.jogamp.org/question-about-the-GLCanvas-and-GLJPanel-tp3844025p3973869.html

cznlzq wrote
Thank you for the suggestion.

It is very interesting. Indeed we have to call the repaint in the display
for the GLCanvas.

However, I found that for the GLJPanel we don't have to call any function.
Just override the paintComponent in GLJPanel then it will take care of
everything.

And I recode the test codes to test these two

=========================================================
For me, this last example of yours doesnt even show the "2DRender" written....

I have success only with GLJPanel so far

Ps: sorry for the email cznlzq, but I misunderstood the button to reply :p