Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community Forumsconverting swt to awt image transparency problem
https://www.eclipse.org/forums/index.php/mv/msg/144596/455154/#msg_455154
Originally posted by: jan.van-oosterom.demon.nl
Hi,
When I convert a icon frow SWT to AWT the transparency is lost
anybody a solution?
I changed the main method with this code to read a icon from my system
(icon for .torrent files).
Program program = Program.findProgram("torrent");
ImageData data = null;
if (program != null) {
ImageData imageData = program.getImageData();
if (imageData != null) {
data = imageData;
}
}
bye,
Jan]]>2005-05-07T17:31:36-00:00Re: converting swt to awt image transparency problem
https://www.eclipse.org/forums/index.php/mv/msg/144596/455288/#msg_455288
Originally posted by: jan.van-oosterom.demon.nl
nevermind, got around it]]>2005-05-11T11:54:52-00:00Re: converting swt to awt image transparency problem
https://www.eclipse.org/forums/index.php/mv/msg/144596/759278/#msg_759278
Thanks !]]>Viorel Hojda2011-11-28T08:59:18-00:00