A quick question about transparency

Hi there!

I'm currently making a program with a Jpanel infront of another Jpanel, the idea is that the one in the background displays an image and the foreground one gets lighter and darker in colour, displaying the image when it is lighter. So basically i thought if i made the foreground panel transparent (setOpaque(false)) i would see the panel behind, however this is not the case an it just goes grey... am i missing something here?

Thanks!

[466 byte] By [oookiezoooa] at [2007-10-2 4:47:02]
# 1
A common trap. http://java.sun.com/products/jfc/tsc/articles/painting/#props
YAT_Archivista at 2007-7-16 0:51:49 > top of Java-index,Java Essentials,New To Java...