on any computer? in my experience, a simple "image.jpg" and putting them on the same folder doesnt work in netbeans,
it has to be something like "C:\Documents and Settings\images\images.jpg" there always has to be a "\" to make it work, so what I do I make a package containin only the images and put "C:\Documents and Settings\My Documents\NetBeansProjects\theProject\images\image.jpg" and unfortunately, whenever I copy the dist(the one that contains the jar file) file no images come out
is there a way to type in the file location in such a way that it can work if I just bring the dist file from computer to computer? what do I type in the location?
it has to be something like "C:\Documents and Settings\images\images.jpg" there always has to be a "\" to make it work, so what I do I make a package containin only the images and put "C:\Documents and Settings\My Documents\NetBeansProjects\theProject\images\image.jpg" and unfortunately, whenever I copy the dist(the one that contains the jar file) file no images come out
is there a way to type in the file location in such a way that it can work if I just bring the dist file from computer to computer? what do I type in the location?