The image tells everything doesn’t it?
Transparency (just a bitmask) is ok as long as the JFrame isn’t decorated. If it’s decorated the “bounding box” of the icon is gray instead of having that primary1(or so) color.
I guess the fix would be a two liner… setColor + fillRect.
Or is it supposed to be like that? :>