Java by default looks for files in the project eg. I create a project called calculator and want a background image, I would put the required images in the project folder. I would like it to be tidier by changing where Java looks for the images.
I have created a folder called res and added it to the build path but if I put an image into this res folder it would not find it. For example:
launcher.setIconImage(new ImageIcon("Logo.png").getImage());
It would not change the IconImage if I put Logo.png in the res folder and would if i put it in the project folder. When I say project folder I mean the folder eclipse creates when you create a new Java project.