So, In my code I have the app take resources from a folder named res/ and in the Manifest.mf file "Class-Path" is set to res/ but it doesn't read the files inside the res/ folder inside the jar, it reads the res/ folder from the folder where the jar file is. (sorry for bad explaining) Example: If I have my jar inside a folder named "Game" the res folder must be inside "Game" for it to work. My question is: How do I make it to read res/ from inside the jar?
I've set the ImageIcons like this:
ImageIcon icon = new ImageIcon("res/image.png");