Login  Register

Re: multiple instances of GLCanvas in a single container (Swing)

Posted by gouessej on Nov 08, 2011; 3:43pm
URL: https://forum.jogamp.org/multiple-instances-of-GLCanvas-in-a-single-container-Swing-tp3488057p3490619.html

You can put several GLCanvas instances inside a JPanel. By default, the JPanel uses a BorderLayout, you can use another one if you want. You can use one animator per canvas (maybe this option does not work) or do active rendering like me.
Julien Gouesse | Personal blog | Website