Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

drawing transparent images

843806Apr 16 2008 — edited Apr 16 2008
Hi,

I am trying to draw an image with transparent background, but it doesn't seem to work. I made an image (.bmp) and load it into an image object. When decide to draw it into a JPanel, the background is still painted white and not transparent.

I looked on the internet, but most posts are about creating images yourself in java, which is not what I want to do. Can someone please explain to me how I have to do this?

Thank you in advance!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 14 2008
Added on Apr 16 2008
3 comments
186 views