Title: RE: [JAVA3D] Canvas3D incompatible with card-layout?

I assume that you can't use Canvas3D with CardLayout, since Canvas3D is a heavyweight component. It gets drawn on top of lightweight (Swing) components.

I think there's some info about this in j3d.org. Try also to find information with "mixing heavyweight and lightweight components".

Pasi

-----Original Message-----
From: Discussion list for Java 3D API
[mailto:[EMAIL PROTECTED]]On Behalf Of Nikolai V. Chr.
Sent: 8. joulukuuta 2003 11:45
To: [EMAIL PROTECTED]
Subject: [JAVA3D] Canvas3D incompatible with card-layout?


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.

Can anybody offer some help to this problem?


Regards
Nikolai

----------------------------------------------
Nikolai V. Christensen, Computer Engineer,
Simulation and Training department
IFAD, Forskerparken 10A, DK-5230 Odense M
Denmark, EU
Phone: +45 63 15 71 31  Fax: +45 65 93 29 99
WWWeb: http://www.ifad.dk
e-mail: [EMAIL PROTECTED]
----------------------------------------------

===========================================================================
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".

=========================================================================== 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