dcsimg

Can I make setBackground() a Transparent Color?

Finlay McWalter

In Java2, sure, the AWT contains a constructor for java.awt.Color that takes an alpha (transparency) value - just set this to 0.

Java 1.1.x doesn't support this, so you can't have a transparent background color.