Personally I don't even use the simpleUniverse class for my project, as I
need something slightly more complex than it. However, on the declaration
of my Canvas3D using the following lines worked just fine:
GraphicsConfiguration config = SimpleUniverse.getPreferredConfiguration();
Canvas3D canvas = new Canvas3D(config, false);
It was as simple as that and it no longer gives me the warning...I'm pretty
sure it will work for you, too, even if you are not using the
SimpleUniverse anywhere else.
Paris
--- Alan D Workman <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I'm relatively new to Java3D and have been learning quite a bit from this
> interest group. The question I have is how to properly create a Canvas3D
> object in a VirtualUniverse without using null as the value for the
> GraphicsConfiguration object. I have seen many examples initializing a
> Canvas3D object in a SimpleUniverse but I have not seen any examples for
> VirtualUniverse aside from passing in null as the value for the
> GraphicsConfiguration object. Any hints? Also, what are the
> pluses/minuses
> associated with creating a Canvas3D object with null for the value
> GraphicsConfiguration object. Code examples would be a plus. Thanks in
> advance.
>
> -Alan Workman
>
>
===========================================================================
> 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".
__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices.
http://auctions.yahoo.com/
===========================================================================
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".