A hack will the only solution. Or wait for Java3D 1.2. J3D 1.2 will have
support for Offscreen rendering. In that case, you can render to an off
screen buffer and simply keep copying the buffer contents into you child
window on each frame update. Will be slower, but will work.


----- Original Message -----
From: Andrew R. Thomas-Cramer
To: [EMAIL PROTECTED]
Sent: Tuesday, July 06, 1999 7:50 PM
Subject: [JAVA3D] MDIs and Java3D (Was: Re: [java3d] Canvas3D allways on
top!!!)



If a JInternalFrame can't hold a Canvas3D, how can a Java3D scene be placed
in a child window in an MDI (i.e., a window within a window)? Can it?


>A known problem with no known solution:
>The Canvas3D is a heavyweight-object which means
>it cannot be overlayed by Swing-components in the same container, 'cause
>these are leightweight-components. You can only cover the Canvas3D with
>JFrame, JWindow etc. The Java Tutorial and the API-doc contain full
information
>of the display capabilities of Swing-objects.

>If I'm wrong, please tell me!
>Christian

>Rui Prada wrote:

>> Hi,
>>
>> I'm building an aplication that uses a JDesktopPane.
>> In this Desktop I have several windows(JInternalFrame) and one of them
has
>> a canvas3D to show some 3D info.
>> The problem is that the canvas3D is allways on top of every
JInternalFrame!!!
>> Even if I use the toFront method.
>>
>> What can I do to fix this????
>> Thankx
>>
>> Rui Prada

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