How do I access a JPG embedded in my JAR file via a URL object? What would be the address?
- by dacracot
I've bundled a JPG inside of my application's JAR file. I need to access it, preferably via a URL object from the code in the same JAR. But I've no idea how to construct the address. I'm guessing it would be a "file:///" but what comes after that?