You've constructed your SimpleUniverse object with an empty constructor.
That's how it was done in the earlier versions of Java3D.
Now you should create a canvas.
private void init()
{
setLayout(new BorderLayout());
Canvas3D canvas = createCanvas();
add("Center", canvas);
this.simpleUniverse = new SimpleUniverse(canvas);
}
private Canvas3D createCanvas()
{
GraphicsConfigTemplate3D template = new GraphicsConfigTemplate3D();
GraphicsConfiguration gc1 =
GraphicsEnvironment.getLocalGraphicsEnvironment().getDefaultScreenDevice().g
etBestConfiguration(template);
return new Canvas3D(gc1);
}
----- Original Message -----
From: "F�bio Magalh�es" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 06, 2002 8:11 PM
Subject: [JAVA3D] WHAT IS THIS ????
> C:\jdk1.3.1\bin\javaw -classpath
>
"C:\Teste_JAVA3D\GaCIVBrowser\classes;C:\jdk1.3.1\lib\ext\j3daudio.jar;C:\jd
k1.3.1\lib\ext\j3dcore.jar;C:\jdk1.3.1\lib\ext\j3dutils.jar;C:\jdk1.3.1\lib\
ext\vecmath.jar;C:\jdk1.3.1\demo\jfc\Java2D\Java2Demo.jar;C:\jdk1.3.1\jre\li
b\i18n.jar;C:\jdk1.3.1\jre\lib\jaws.jar;C:\jdk1.3.1\jre\lib\rt.jar;C:\jdk1.3
.1\jre\lib\sunrsasign.jar;C:\jdk1.3.1\lib\dt.jar;C:\jdk1.3.1\lib\htmlconvert
er.jar;C:\jdk1.3.1\lib\jaws.jar;C:\jdk1.3.1\lib\rt.jar;C:\jdk1.3.1\lib\sunrs
asign.jar;C:\jdk1.3.1\lib\tools.jar"
> gacivbrowser.MyApp
>
> WARNING: Canvas3D constructed with a null
> GraphicsConfiguration.
>
>
>
>
____________________________________________________________________________
___________________
> Yahoo! Empregos
> O trabalho dos seus sonhos pode estar aqui. Cadastre-se hoje mesmo no
Yahoo! Empregos e tenha acesso a milhares de vagas abertas!
> http://br.empregos.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".
>
===========================================================================
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".