Hi all just a quick questiong

I understood that we can only load BufferedImages with ImageIO.read( url ) ; , right?
Thing is I have no idea about URL so I took only the example from the Planetalua space invaders tutorial and made the URL like this :
url = getClass().getClassLoader().getResource(filename);
Thins is , ok it works .. but what If I wan tto have my images in another place and not in the classloader?How do I form my own URL to tell it where to load the images from?
I tried URL url = new URL( String string) ;
But it said something about malfunctioned URL and about a protocol.Please excuse my noobiness

, and any help is appreciated !
