additional canvas does not always render
I am attempting to have two Canvas3D - with the same View - in my application but not to provide a stereo view, merely a duplicate view on the same screen. One canvas is small, the other large.
Sometimes both canvases are rendered and everything is how it should be. However, in about 30% of cases, one or both of the canvases do not render.
Both are added to containers (JPanel) which are already shown on the screen. I have tried this using both OpenGl and Direct3D rendering and with and without DirectDraw for Java2D. I have tried playing with Canvas3D's stopRenderer and startRenderer methods but that does not seem to make a difference but maybe I'm using it wrongly.
Please could someone tell me:
1) how to get two Canvas3D's with the same View to display correctly;
2) how to safely add and remove Canvas3D from swing containers.