I've looked around and couldn't figure out how this is done.
I'm trying to load an image in a .jar, but the jar is executable. Both the main class and the image are in the same .jar. I'm trying to use the setIconImage() method. I'm using the code
HERE to learn how. It works perfectly outside the jar, but not inside. How do I tell
java to access files inside the jar?