1
I’m using Java, but it’s a very general question, actually.
When I load an image as a program icon (program icon, save icon, click icon, any icon) and change the folder where the icon is, naturally an error occurs because the program looks for the icon in an outdated address.
As a solution, I created a resource folder in the same program project folder, to store the icons I’m using.
Why do programs (such as Word, Adobe File Reader, Solidworks or Autocad, etc.) usually not have, at least apparently, a folder with the icons used in the program? How does this happen?
Nothing prevents the resources from being inside the executable itself. There are several ways to do this, which depend on OS, compiler, language etc.
– Bacco
Could you give me an example? Or a direction to continue researching this? I think this can make my life easier to load the icons and images of my program.
– HWerneck