I’m developing a java desktop application. the folders which are going to be installed on the end user computer are: Sources, Images and… . the Sources folder is the folder where the program sources exist(Classes) and the Images folder is the place where the images which the program needs them exist.
now in the program, how should I address my images?
I mean I don’t know absolute path of my image files(as I don’t know where the user decides to install the program), just know they will be in Images Folder…
Either the images folder can be determined relative to the running program, or the user will have to tell you where the images are stored. The user may want images from a number of directories in which case you will have to either scan for them or ask the user where they are. e.g. The Add Library function is music programs.