If you are using the Simple Universe try...
}
...
GraphicsConfiguration config = SimpleUniverse.getPreferredConfiguration();
Canvas3D c = new Canvas3D(config);
...
}
You can obtain more information about the GraphicsConfiguration object at:
http://java.sun.com/j2se/1.3/docs/api/java/awt/GraphicsConfiguration.html
Hope this helps, Cheers
adam
----- Original Message -----
From: "Tiza Iskandar" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, June 19, 2000 2:24 AM
Subject: [JAVA3D] eliminating a warning!
> Hi All,
>
> I got this warning at runtime "WARNING: Canvas3D constructed with a
null
> GraphicsConfiguration.". Anybody knows how can I eliminate the warning ?
> Thanks in advanced.
>
> Take care
> Tiza
>
>
===========================================================================
> 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".