hi,
this is the heavyweight/lightweight problem discussed here many times. their is a FAQ
at j3d.org and it is discussed in detail in the swing book of David M. Leary.
Try to add a java.awt.Panel as a container into your layout. then put/remove the
canvas3d into/from the panel via menu.
Gernot
On Thu, 24 May 2001 11:34:14 -0300, simone wrote:
>Hi All,
>
>I am programming an application where I have a menu built with Swing. In
>
>my
>menu option "New world", I include a functionality to generate a
>Universe in
>Java3D. However this Universe always open outside my application instead
>
>of openning inside the screen.
>
>I would like to ask you if it is really possible to use Java3D
>associated
>with Swing or does it work only with AWT?
>
>Thank you for your attention.
>
> []s Simone.
>
>========================================================================
===
>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".