Hi,

Well I've got a crazy problem :

- to create the canvas3D in my app I use the following things :

GraphicsConfiguration gConfig = SimpleUniverse.getPreferredConfiguration();
mainCanvas = new Canvas3D(gConfig);

or

GraphicsConfigTemplate3D template = new GraphicsConfigTemplate3D();
GraphicsConfiguration gc1 = 
GraphicsEnvironment.getLocalGraphicsEnvironment().getDefaultScreenDevice().getBestConfiguration(template);
mainCanvas = new Canvas3D(gc1);

Sometimes I get a null pointer on gConfig/gc1 and the app crashes

I made several tests on some differents PCs and it seems that this error appears 
randomly

Can someone help me ?

I'm using jdk 1.3.1 and j3d 1.2.1

Thanks in advance !

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