I also have a Canvas3D inside a CardLayout and it works fine for me.

I have setDoubleBuffered(false) and setOpaque(true).
Don't know if this has any relevance for your problem, but maybe it helps...

> I am having some trouble with the canvas. I put the canvas
> inside a JPanel with a cardlayout, and select another card to
> be in front. Then I add the JPanel to a visible component.
>
> The trouble is: the Canvas3D now shows in front, no matter
> which card I ask to see. This happens only for 20 seconds or
> less depending on the speed of the computer, after that it works fine.

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to