I'm fooling around with jogl and I'm having trouble loading images to use as textures
my application is in a package named toys
the main app contains a JTabPane which has several tabs that do different stuff
each tab contains a JPanel, the individual panels are in a package called (surprise) panels
the image I want to load is in a package called (surprise) images
so it looks something like this
so, in my
IDE (netbeans) I can load the image with this code
this says I have to go up a directory from where the panel is, then go into the images dir, it works fine in netbeans
it doesn't work once it's made into a jar file and I try to run it from the command line
any good pointers to trying to understand the whole path deal when it comes to stuff like this?
I'm kinda confused at the moment
TIA
Dave