Hello.
I have a game running in Applet and it works fine with Applet Viewer. And it works fine when I run it in a browser from my own computer. But when I try to load the game over the Internet, some pictures won’t load. JPGs work fine, haven’t tried with GIFs, but PNGs won’t load at all.
I load the image like this:
image = ImageIO.read(new BufferedInputStream(ImageBase.class.getClassLoader().getResourceAsStream(name)));
I found out that there is a bug with read andBufferedInputStream should fix it. Well, it doesn’t fix it in this case. Any ideas?
Edit: I tried to load the images with getImage and mediatracker but the same problem occurs. It’s pretty odd… I’ve never had this problem before.
