I've also tried other code. I keep getting errors with anything related to Java3D. I have re-installed Java3D many times to see if it was the problem. The problem is something in the path or classpath. That is my observation. I have had this working at one time, but I uninstalled it. I can run the old programs, but I can't compile them. It isn't my code! Please help!
EDIT: I can run the old programs that I have previously made, but I can't compile them. I compiled them with the version I uninstalled. Now I can't compile them (obviously). I added this edit for clarification.
“Don’t worry if it doesn’t work right. If everything did, you’d be out of a job.” (Mosher's Law of Software Engineering)
“If debugging is the process of removing bugs, then programming must be the process of putting them in.” (Edsger Dijkstra)