I'm having some trouble creating an executable jar file that accesses data txt files when running.
I've written a program using Netbeans that reads in both images and data and uses this data while the program is running. But when I try to run the program using the jar file that is automatically created in the dist folder, the images show up just fine, but it hasn't been able to read in the data.
Here's how the directory looks in Netbeans:
ProgramName SourcePackages PackageName VariousJAVAfiles PackageName.resources.data VariousTXTfiles PackageName.resources.images VariousJPGfiles
I'm guessing that I have to do something with the libraries, and I've also heard something about using URL objects, but I'm still confused about what to do.
Any advice on what I'm missing here would be great, thanks!
Edited by jiraiya: n/a