I'm completing the tutorial here at http://www.jmonkeyengine.com/wiki/doku.php?id=moving_away_from_simplegame_with_your_own_app and I'm attempting to load a texture. I keep getting an error that the URL is null, but I don't understand why. I'm sure it's got something to do with me being an idiot.
The image is located at:
C:Documents and SettingsTylerNetBeansProjectsMonkey.jpg
and also at
C:Documents and SettingsTylerNetBeansProjectsimagesMonkey.jpg
I'd prefer to keep a file of all of my images, but if that's impossible I guess I can figure something else out. Anyway, how would I go about utilizing the code:
ts.setTexture(TextureManager.loadTexture(FyrestoneEmptyWorld.class.getClassLoader().getResource("C:/Documents and Settings/Tyler/My Documents/NetBeansProjects/GameClientTest/images/Monkey.jpg")));
and have it actually find it?