How do I embed a ressource in a JAR and load it from the code from the JAR?
The first part is easy, I believe, with Eclipse: Export JAR, include my ressource (a PNG image) and ready.
But how do I access this from the code?
(e.g. loading an icon with "icon = new ImageIcon("yadda.png", "My PNG from a JAR");")