Nunnari Fabrizio <[EMAIL PROTECTED]> writes:

> This is very strange. I don't know if I missed some docs, but seems
> that my application is automatically opening a full featured
> java.awt.Frame instead of using mine.  Does anyone knows if it is a
> bug or I missed something.

Your code calls

     new com.sun.j3d.utils.universe.SimpleUniverse();

which, among other things, does

     new com.sun.j3d.utils.universe.Viewer((javax.media.j3d.Canvas3D) null);

The documentation for com.sun.j3d.utils.universe.Viewer says:

    If the Viewer object is created without any Canvas3D's [...], it
    will create the Canvas3D's as needed.  [...] If the Viewer object
    creates the Canvas3D's, it will also create a JPanel and *JFrame*
    for each Canvas3D.


        Juergen

--
Juergen Kreileder, Blackdown Java-Linux Team
http://www.blackdown.org/java-linux.html
Run Java 2 SE v1.3.1 on your iPAQ:
http://www.handhelds.org/pipermail/ipaq/2001-June/007221.html

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