I do not want my jframe to display any icon in taskbar. Basically if we don't specify any IconImage
to it, then it shows default icon. But in my program I don't want any icon to be displayed.
setUndecorated(true);
setSize(208, 58);
setImageIcon(null); // same result
If I will use transparent image as Icon
, even then the system will show a transluscent rectangle for icon.
My question is straight forward. I don't think I need to give any coding for it. If there exist any method to do that, let me know.
1 way by which it could be done is to use JWindow
or Window
, but there are many drawbacks for using it and I don't want to do it this way.