this works great if i run my project with eclipse. but if i build the project with fatjar/onejar and try to run the application, the texture can't be found even the file is in the directory data/grid.png.
In a recent runaround with this sort of thing, I found that the solution (to run from Eclipse, FatJar, and WebStart) was to skip the last slash on texture resources and include the slash on model resources (I don't know about the other types). I have not looked at the code yet to see why this might be the case. So, the following appears to work for all cases (at least with what I'm working with):