There are many PNGs but here is an example: http://koti.mbnet.fi/johann/Code/java/Coloribrium/red.png
. The URL is correct because all the images are in the same folder and JPGs work. And it works perfectly when running from my own computer (with browser and applet viewer). Only over the internet there is problems.
Maybe JAR could fix the problem? I've never used JAR so I guess it's time to learn. But still, why doesn't it work like that...
Edit: Doesn't work in JAR either. Exactly the same problem. Still works from my own computer but not from the Internet.
Edit: I don't know why I didn't check this out earlier, but when I load the image it throws an exception which says "Width (-1) and height (-1) cannot be <= 0"... This is sooo strange.
Edit: And ofcourse, you could also try it. http://koti.mbnet.fi/johann/Code/java/Coloribrium/
. If it works for you, you should see some diamonds or something on the screen.