Loading files(namely images)
Hey, whenever i have an application that loads files, which are images in most cases, I always end up having to use the complete path in order to load them. Why?
This is inconvenient.
Also, i usually use:
I find that whenever i just place the filename there or one folder the image is never found. This may be related to where java looks for my image and to add to that, the image is always in the same folder as all the class files and in eclispe it looks like:
Some help would be appreciated.