I’m having some trouble loading images into my game. The images are currently saved in the directory where my class files are located. I’m using Windows 2000. I call the ClassLoader.getResource() method and it returns a URL that looks something like this: “file:C:/_Work/…/image.gif”. Is this a valid URL to pass to the javax.imageio.ImageIO.read function or does the URL have to be an actual http address. I’m not sure that the question makes sense, but can anyone explain how to load images in Java.
Regards,
Igor

