Login  Register

GLCanvas in JTabbedPane

Posted by nick.collier on Apr 03, 2013; 8:52pm
URL: https://forum.jogamp.org/GLCanvas-in-JTabbedPane-tp4028899.html

Hi,

I've got two GLCanvases in two separate tabs in a JTabbedPane. When I switch between them the tab changes but the new canvas is not displayed. For example, if I have a circle on the canvas in tab 1 and a square on tab 2, if I switch from tab 1 to tab 2 I still see the circle rather than the square. There's no errors. This is with jogl-2.0-rc11. Any suggestions appreciated.

thanks,
Nick