[Java-gnome-developer] Image handling URL
Brought to you by:
afcowie
From: pancake <pa...@ph...> - 2005-05-11 22:28:06
|
I found a problem in JavaGnome API....it seems that it's impossible to handle files inside a JAR. The right way to do it is using URL xxx = this.getClass().getResource("icons/gdvb.png"); This returns an url like: jar:file://path/to/jar!path/to/file Without that it's impossible to use external files inside a JAR. any idea about how to solve this tip?. thx |