I guess it is. Since Canvas3D is not a container, then u obviously
can't add an AWT component to it. But u can add both Canvases to one
container. The best way to make them overlap is not to use Layouts,
but rather specify their exact position and size with setBounds
function. Since the components are added to a container in Z order,
the last Canvas u added should be redrawn over the first one.
That is, first u add to the container the bigger canvas, and after that
- the smaller one. Then set the bounds.
This should work.
vladimir
-=V=-
>-------<=============>-------<
Join in Java community now!
http://JavaCafe.VirtualAve.net/
>-------<=============>-------<
In your previous letter u wrote:
--------------------------------
HG> Hi,
HG> is it possible to have two overlapping Canvas3D components? I want to
HG> have one big Canvas3D in which medical ct data is displayed (organs
HG> within the body). In the top left corner of this window I'd like to
HG> place a smaller one in which a simple model of a human body is displayed
HG> which rotates the same way the organs in the bigger window do (but
HG> within a different universe).
HG> I wonder if it's possible to place one Canvas3D object on top of another
HG> (bigger) one?
HG> thx
HG> Heiko
HG> ===========================================================================
HG> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
HG> of the message "signoff JAVA3D-INTEREST". For general help, send email to
HG> [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".