views:

278

answers:

1

I've got a Composite and would like to use a png file as background image. I can do that, the problem is when the image uses transparency it doesn't work and shows a white colour instead. Any thoughts on how to get this to work?

Thanks!

A: 

Does this article help?

Taking a look at SWT Images

It talks about drawing an image (albeit a GIF) to a Canvas with transparency (Canvas extends Composite).

danmec