Reputation: 522
I am packaging my app as a runnable jar with all my images in it. For my JEditorPane, how can I write the css file/url for 'background' property as I will not be able to get the path since the image is packaged in jar?
If I load the image through class loader getResourceAsStream, how can I refer it in JEditorPane?
Upvotes: 0
Views: 256