I'm working on a cross platform (Mac and Windows) application deployed via Java Web Start. We have some really high quality desktop icons that we want to use as the desktop shortcut icon. A servlet re-writes the jnlp file based on the client platform and we can choose platform specific icons.
On the Mac we are using .icns files and it looks great. However, the Windows side is looking kind of jaggy. We have .ico files and .png files of various resolutions (the .ico has embedded 16x16, 32x32 and 48x48). However, it appears that Java Web Start will generate a poor quality 32x32 ico and use this as the desktop icon. The Vista desktop tries to upsample the 32x32 ico 48x48 and the result is a double dose of ugly.
I have tried using more explicit icon elements including kind, width and height attributes as outlined in the following link but I can't seem to get nice looking icons:
Has anyone encountered this issue and do you have a solution? How do you prevent Java Web Start from generating poor quality ico files? Ideally, we just want JWS to use the icon that we delivered.