I have been working a lot to learn how to load files that lie within the JAR file, but I just can’t get it working!!
No guide I’m trying works and I’m getting desperate. I’ll put an example of how the JAR file is set up below, could anyone tell me how to load the image “Star.jpg” please?
folder
Loader.jar
package
Loader.class <- The running code
META-INF
MANIFEST.MF
resources
Star.jpg <- the image I want to load
If someone could give me a full method that can do this instead of saying “use this _____” I’d be very grateful