I was making a game using a JFrame that would load an image to be displayed. Then when I tried to run the program, it didn't find the image in the jar. So, how do you retrieve a file from within a jar? Is it /img.png
or img.png
or even \\img.png
? I just don't know how paths in java work yet.
(Edit) Figured it out.