participate


Swing - Large Icon in Windows 7 superbar/taskbar, how to?
This question is answered. Correct Answer available

<<   Back to Forum  |   Give us Feedback
10 Duke Stars rewarded for this thread
This topic has 2 replies on 1 page.
jensbruhn
Posts:144
Registered: 3/21/00
Large Icon in Windows 7 superbar/taskbar, how to?   
Nov 4, 2009 6:12 AM
 
 
Hi people,

in windows 7 i can switch to large icons in the superbar/taskbar. How can I define this large icon in my java application? Is it the icon which I set with "setIconImage" to the frame? But this icon is only 16x16 and it looks bad after being resized to a larger size. I can set a large icon via "setIconImage", but now this icon is rescaled to 16x16 and this looks bad in my application window title... And I can't set an "ico" file via "setIconImage" which may support several sizes.

Any chance to set one icon to the frame (setIconImage) and define another icons as large icon for the superbar/taskbar?

Thanks for your help,
jens bruhn
 
WalterLaan
Posts:816
Registered: 4/17/08
Re: Large Icon in Windows 7 superbar/taskbar, how to?      
Nov 4, 2009 7:33 AM (reply 1 of 2)  (In reply to original post )
Correct
 
Did you try Window#setIconImages ?
 
jensbruhn
Posts:144
Registered: 3/21/00
Re: Large Icon in Windows 7 superbar/taskbar, how to?   
Nov 5, 2009 12:05 AM (reply 2 of 2)  (In reply to #1 )
 
 
Damn, our framwork here just supports java 1.4 so I missed that new java6 method... thanks, it works great!
 
This topic has 2 replies on 1 page.
Back to Forum
 
Read the Developer Forums Code of Conduct

Click to email this message Email this Topic

Edit this Topic
  
 
 
Forums Statistics

About Sun forums
  • Sun Forums is a large collection of user generated discussions. It is here to help you ask questions, find answers, and participate in discussions.

    Check out our guide on Getting started with Sun Forums for a full walkthrough of how to best leverage the benefits of this community.

Powered by Jive Forums