Ehlo Simone

On Thu, 24 May 2001, simone wrote:

> Hi All,
> Universe in
> Java3D. However this Universe always open outside my application instead
>
> of openning inside the screen.
I think you're forgeting to add the Canvas3D in the
constructor. (Instead of calling

SimpleUniverse myUniverse = new SimpleUniverse()

you should call

SimpleUniverse myUniverse = new SimpleUniverse(myCanvas3d)

You should do that, if you don't add a Canvas3D-Object in the Constructor
it will build a new one which leads into opening an extra frame. (I'm not
sure why it opens a new frame though)

EOF,
 J.D.

--
Realtime Raytracer in JAVA
(http://www.antiflash.net/raytrace)

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