Robert Lemke - CA Mngd Services wrote:
Hello Guys,
I've just loaded Java 3D and J21.4.1_01, and have encountered a problem.
When running a 3D program, the DOS output (between lines) reads as follows:
______________________________________________________________________
*** ERROR: Canvas3D constructed with a null GraphicsConfiguration
*** This will cause a NullPointerException in a subsequent release
______________________________________________________________________-
How should I go about fixing this?
Use
new Canvas3D(SimpleUniverse.getPreferredConfiguration());
instead of
new Canvas3D(null)
A possible related message (a Windows message) is displayed as follows:
_______________________________________
No compatible device found. Please switch to another display mode and try
again!
_________________________________________
For DirectX version of Java3D, use 16/32 bit display mode instead of 24 bit,
this is limitation of DirectX API.
If 24 bit display mode has to use, switch to OpenGL version of Java3D.
- Kelvin
-----------
Java 3D Team
Sun Microsystems Inc.
===========================================================================
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".