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

I have had a look on the web and can't find any info on it, but I was wondering how to change the background colour of the icon (the icon which displays on the windows taskbar) when you hover over it, for a java application (JFrame). I.e. I have a JFrame application within which I have invoked setIconImage() which changes the icon image (teapot image) which displays on the windows bar. However, I have no idea how to change the background color, that appears when you hover over the image on the windows bar. Currently the background color that is displayed is light blue. Essentially I am just wondering how to change it from light blue to a different color.

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.

Does anyone have any idea how I could achieve this?

Many Thanks in advance.


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.

Need Your Help

Understanding Xcode build error

ios compiler-errors mopub missing-symbols

Solution: so Mopub's instructions don't mention that EventKit and EventKitUI are required. Adding these in addition to the frameworks mentioned by MoPub got the project to build.

Group by Max

sql sql-server aggregate-functions greatest-n-per-group

SELECT tblIssue.SYMB, tblIssue.[PRCE], tblIssue.[Shareholder]

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.