Does Java support transparent GIFs?
GIF89a images with a transparent background show up as transparent without further filtering. This has been supported from 1.0 on. Java correctly displays both animated GIFs and transparent GIFs. Even better, you can fill the transparent pixels with a color (so they appear non-transparent in Java). Just pass the fill color explicitly: drawImage(img, x, y, w, h, fillcolor, this); Further, you can filter the pixels of an Image to turn any bits you wish transparent. However, the most you can do is reveal what is underneath the image. You cannot reveal what is underneath the applet (i.e. on the browser itself). By default applets have a plain grey background.