When I use the jstub-task with mode set to win32, and provide an icon with a transparent background color, the icon background appears black in the generated exe-file and on the desktop icon.
This behaviour is the same for .ico as well as for .png files.
see bugid: 1552081
and/or in current svn JStubPTaskTest...
(gif currently seems to work)