If i call two jars (jar1.jar and jar2.jar) within a jnlp as resources, and i say
java.net.URL imgURL = (class1.class).getResource("icon.gif");
should it not work?
files would be as follows
| jnlp1.jnlp
| jar1.jar
-
- class1.class (is the main class)
| jar2.jar
- class1.class (is the main class)
-
- icon.gif