Tiza,

Try the following:

        GraphicsConfigTemplate3D template = new
            GraphicsConfigTemplate3D();
        gc = GraphicsEnvironment.getLocalGraphicsEnvironment().
                getDefaultScreenDevice().getBestConfiguration(template);
        c = new Canvas3D(gc);

Rob

Tiza Iskandar wrote:

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".

--
 

Rob Nugent
Development Manager
PeerLogic
[EMAIL PROTECTED]
http://www.peerlogic.com
Tel: +44 (0) 1489 585503
Fax: +44 (0) 1489 881363
 

Reply via email to