Transperancy and
Hays Guys!
I need help on something,
I am making a java application and I want to set a washed out Image as the background on a JPanel.
I had that work by adding The image on the Jpanel and then adding another panel with its background set as follows (new Color(255,255,255,180))!
I got the effect I want but the problem is that as I move through the application wierd things start happening, I see some components in the background at the back. I tried adding repaint() and validate() frequently but I still get that effect!
Any Ideas of how to overcome that problem?
Thanks for your help!
[635 byte] By [
ekoshaa] at [2007-11-26 15:33:53]

# 1
> as I move through the application wierd things start happening,
Doesn't really describe the problem.
If you need further help then you need to create a [url http://homepage1.nifty.com/algafield/sscce.html]Short, Self Contained, Compilable and Executable, Example Program[/url] (SSCCE) that demonstrates the incorrect behaviour, because I can't guess exactly what you are doing based on the information provided.
And don't forget to use the [url http://forum.java.sun.com/help.jspa?sec=formatting]Code Formatting Tags[/url] so the code retains its original formatting.