I was using bufferedImage for my images, but it did not work with applet(url maybe) but now I want to use urls with buffered images.