Thanks a lot for the reply.
I could get rid of the compile time error but however the runtime error still persists. Following is the error trace:
java.lang.NullPointerException: Canvas3D: null GraphicsConfiguration
at javax.media.j3d.Canvas3D.checkForValidGraphicsConfig(Canvas3D.java:982)
at javax.media.j3d.Canvas3D.<init>(Canvas3D.java:1025)
at j3d.HelloUniverse.<init>(HelloUniverse.java:52)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
All my attempt was to make it running and understand how it works. However I could some sample files from
http://www.hig.se/~mbm/kurser/0405/j3d/tutorial/examples/HelloJava3D/so as to get an idea of how it works.
Thanks again.
-KG
[Message sent by forum member 'kalpeshgada' (kalpeshgada)]
http://forums.java.net/jive/thread.jspa?messageID=284611---------------------------------------------------------------------
To unsubscribe, e-mail:
interest-unsubscribe@...
For additional commands, e-mail:
interest-help@...