I have been trying to mess around with Java 3D, in particular the 3D sound engine, I found this example code for a SimpleSounds Applet and im getting compiling errors with the example code, I was just wondering does anyone have any experience with this example and how to get it working?
So the error is
Exception in thread "main" java.lang.NullPointerException: Canvas3D: null GraphicsConfiguration
And the example code is
Thanks in advance for any help with this issue!
posted 3 years ago
I have no experience, but the Canvas3D API I found specifically prohibits a null parameter, making your statement at line 47 unacceptable. I accept that an API I found randomly on the web may not correspond to the actual library you're using, so please consider my suggestion suspect until proven otherwise.
Always learning Java, currently using Eclipse on Fedora.
Linux user#: 501795