piratolo wrote:to make it work with the second arrangement you have to add a leading <tt>/</tt> to your resouce path or use
i'm having problem understanding how to menage file (images, *.wav, etc.) when creating a Jar file.
At first i couldn't make my class reach those files, but eventually i made it.
I make it work, putting the forder with the files, in the package where is the class that needs those file.
Is this the only way to make it work? Can't i store files in a folder placed outside a class package?
This way works src |_____package A ----- Class A |____ImagesFolder This way doens't work src |_____package A ----- Class A |____ImagesFolder