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?
There should be something in the Java™ Tutorials about how to put your image in a .jar. Try putting the image in the top-level folder you are zipping; it might be a problem with the location of the image file.
I think this is too difficult for "beginning".Moving thread.