3D object file not found - why?!!!! Please help!
This has been puzzling me for a while now and I would really appreciate some help:
Here's the error message:
"java.io.FileNotFoundException: jar:file:\E:\WindowsStuff\My%20Games\Tests\ThreeDTest\ThreeDTest.jar!\firstObject.obj (The filename, directory name, or volume label syntax is incorrect)"
And here's the relevant code snippet:
testGameObject = new GameObject3D(getClass().getResource("firstObject.obj").toString());
GameObject3D is a class I've written that loads a 3d .obj file, 'firstObject.obj' is inside 'ThreeDTest.jar' along with the relevant classes and is also signed(unofficially).