Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Manipulating taskbar button icon

834506Feb 28 2011 — edited Feb 28 2011
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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 28 2011
Added on Feb 28 2011
0 comments
105 views