multiple instances of GLCanvas in a single container (Swing)
Is it possible to do this? I'm using Netbeans as my IDE. I'd like to have, say, a grid of 6 (or more) GLCanvases on a single JPanel. They don't necessarily share context, and they are not just different views of the same scene.
I've been searching the web and can't seem to find any tutorials. Any suggestions?
Re: multiple instances of GLCanvas in a single container (Swing)
Administrator
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.