if use the following line, it will load the image no problems from my program
try {
if(!IL.ilLoadFromURL(Thread.currentThread().getContextClassLoader().getResource("Resources/Images/" + name))) {
System.out.println("Could not load: Resources\\" + name);
}
} catch (Exception e) {
System.out.println("Devil Exception MOTHER....");
}
it will throw the exception in the java webstart console, not return false. has anyone had this problem or undertand why it may be happening?
i Also Tried this instead, but still the same problem
if(!IL.ilLoadFromURL(IL.class.getClassLoader().getResource("Resources/Images/" + name))) {
System.out.println("Could not load: Resources\\" + name);
return null;
}