Hi Karys,

On 25. sep.. 2008, at 10.16, [EMAIL PROTECTED] wrote:

Nobody knows ? Nobody has the same problem ?
[Message sent by forum member 'karys' (karys)]

Did you try making your component transparent as suggested by Jim? You typically do this by calling setOpaque(false) for a JPanel, but I've heard that the "official" way form now on should be to set the background to a transparent color.

Maybe you need to describe your problem in greater detail, because I you will get a transparent image from new BufferedImage(w, h, BufferedImage.TYPE_INT_ARGB). However, the background won't be transparent if you paint it white, or paint an image with a white background into it or similar. Also, if you paint your image into something that does't have a transparent background (like your panel for example), then it will not apear to be transparent, even though it technically is.


Best regards,

--
Harald K

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to