Does anyone know which icon sizes to use with the setIconImages() (PLURAL) method for a jFrame so that my app icons display well on all platforms and in all contexts (e.g., window icon, taskbar icon, alt-tab icon, etc.)?
I've found an example that uses a 16px-by-16px and a 32px-by-32px image, but do I need to go any bigger?
To test, I have also tried adding 64px and 128px versions to the List passed to setIconImages(), but these do not seem to be used on my Windows 7 machine. However, I cannot test easily on other machines, so am wondering if anyone knows which sizes I should include?
According to the API the runtime chooses the most appropriate size to use from the list supplied. I would supply
16x16
,32x32
,64x64
and128x128
and let the JVM decide at runtime.