If you are using JComponent.paintComponent() to render into your image
then it will render the background color unless you turn that off. You
might want to start with this article for some pointers/tips:
http://java.sun.com/products/jfc/tsc/articles/painting/
...jim
[EMAIL PROTECTED] wrote:
Hi everybody !!!
I have a serious problem on my image. Well, I want to create a new image with a transparent background. On the net, I found many answers which say that I juste need to create a bufferedImage with a specific type as ARGB (type_int_ARGB).
But when I use this way, I've got an image with a white background.
Why ???? Does it come from my JPanel ( I use the paintComponent() method)
Please, someone helps me !!
[Message sent by forum member 'karys' (karys)]
http://forums.java.net/jive/thread.jspa?messageID=300126
===========================================================================
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".
===========================================================================
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".