开发者

Changing the background color of a JFrame icon on the windows taskbar

I have a JFrame application within which I have invoked setIconImage() which changes the icon image (teapot image) which displays on the windows bar.

How do I change the background color, that appears when you hover over the image on the windows b开发者_开发问答ar? Currently the background color that is displayed is light blue.

I am positive that it can be done, as your typical big programs have colors which tie in with their design, eclipse for instance uses purple.


You cannot change the background color of the taskbar icon. The color is determined by windows from the dominant color of your icon. If you want another background color then you will have to change your icon.

This feature in windows 7 is called Color Hot-track.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜