Ok, SO I have Sun's XVR-1000 (GFB) video card. I have two of them
actually.

Then I have this code:

        GraphicsConfigTemplate3D template = new
GraphicsConfigTemplate3D();

        GraphicsConfiguration  bestGC =
GraphicsEnvironment.getLocalGraphicsEnvironment().getDefaultScreenDevice().getBestConfiguration(
template );

        Canvas3D sceneCanvas = new Canvas3D( bestGC );

If I run this on the first video card, it works fine.
For some reason if I run this on the second card, I get:

[EMAIL PROTECTED] 26>java KJMsoft.JLStudio.Test.DatFileTest 3001.dat
In Main()
Initializing Java3D
************************************************************************
*** ERROR: Canvas3D constructed with a null GraphicsConfiguration
*** This will cause a NullPointerException in a subsequent release
************************************************************************
Exception in thread "main" java.lang.NullPointerException:
Canvas3D: null GraphicsConfiguration
        at javax.media.j3d.Canvas3D.<init>(Canvas3D.java:1100)
        at javax.media.j3d.Canvas3D.<init>(Canvas3D.java:1065)
        at
KJMsoft.JLStudio.Test.DatFileTest.main(DatFileTest.java:61)

What's going wrong? Obviously 'bestGC is being set to null, but why?

       -Kyle

--
                             _
-------------------------ooO( )Ooo--------------------------------
Kyle J. McDonald           (o o)          Systems Support Engineer
Sun Microsystems Inc.      |||||             [EMAIL PROTECTED]
1 Network Drive                   \\\//      voice: (781) 442-2184
Burlington, MA 01803              (o o)        fax: (781) 442-1542
--------------------------------ooO(_)Ooo-------------------------

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