LWJGL
May 20, 2013, 13:49:23 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: LWJGL is now using GitHub
 
   Home   Help Search Login Register  



Pages: [1]
  Print  
Author Topic: Webstart Error  (Read 3710 times)
bobjob
Prolific Timewaster
****
Posts: 335


LWJGL: WOW SO GOOD


« on: April 10, 2007, 10:00:04 »

if use the following line, it will load the image no problems from my program
Code:
  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
Code:
if(!IL.ilLoadFromURL(IL.class.getClassLoader().getResource("Resources/Images/" + name))) {
  System.out.println("Could not load: Resources\\" + name);
  return null;
}
Logged

LWJGL Benchmark online test:
http://have2chat.net/benchmark/
http://have2chat.net/benchmark/fullpage.html (run full OpenGL webpage)
bobjob
Prolific Timewaster
****
Posts: 335


LWJGL: WOW SO GOOD


« Reply #1 on: April 10, 2007, 11:12:05 »

ummmm........... sorry guys, i didnt relise captilisation was a important in URLS
ahhhh sigh. its all working good now Smiley
Logged

LWJGL Benchmark online test:
http://have2chat.net/benchmark/
http://have2chat.net/benchmark/fullpage.html (run full OpenGL webpage)
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines
SMFAds for Free Forums
Valid XHTML 1.0! Valid CSS!