in this Applet file ,i set the background colour is "black" in void init() ,then i set some images one the surface,and last i use double buffer draw a rect image,but when i draw the image,the rect become ,a black solid rect ,how to make it become tranparent?
Don't post the same question to more than one forum -- it just wastes people's time and makes them less likely to help you. I'm closing this and leaving the one in the correct forum -- the Swing/AWT copy -- open. I've taken the liberty of deleting the other copies for you.