Forum Stats

  • 3,855,697 Users
  • 2,264,546 Discussions


Manipulating taskbar button icon

834506 Member Posts: 17
edited Feb 28, 2011 4:58PM in Java Desktop Applications
I need to change the taskbar icon (not system tray), and am unsure how to do so. I know that setting the icon image of a JFrame via setIconImage(Icon) will change the icon in the top left corner of the applicaiton window / decorations, and also the taskbar button icon, but is there a way to manipulate them separately?

I also have a wrapper written in C++ that compiles to an executable, which invokes the JVM and serves as the entry point to our application. However, I don't know if the OS will use the icon included in the executable, or if it will use the one from the JVM as the taskbar button.

Any insight is welcome.

Edited by: 831503 on Feb 28, 2011 1:58 PM
This discussion has been closed.