| Author |
Error while running an example
|
Vanchi Nathan
Ranch Hand
Joined: Feb 24, 2004
Posts: 107
|
|
hello all, I have just used to sample code, HelloUniverse.java The applet display but gives an error message as follows. Can anyone help me to rectify this error. Thanks in advance.
|
Best regards,<br /> <br />vanchin
|
 |
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35232
|
posted

0
|
Not knowing what HelloUniverse, GraphicsConfiguration or Canvas3D do, this is a bit tricky to answer.
If this is true, and is part of your code, you might want to correct it (i.e., construct a Canvas3D with a non-null GraphicsConfiguration).
|
Android apps – ImageJ plugins – Java web charts
|
 |
Vanchi Nathan
Ranch Hand
Joined: Feb 24, 2004
Posts: 107
|
|
Hi, Sorry for not putting the code. This code snippet is taken from the tutorials for Java3D. How should i rectify the error?
|
 |
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35232
|
posted

0
|
Canvas3D c = new Canvas3D(null);
Do exactly what the error message suggests: don't create a Canvas3D with a null GraphicsConfiguration (I'm assuming the parameter is a GraphicsConfiguration).
|
 |
 |
|
|
subject: Error while running an example
|
|
|