Various icon sizes for OS in Java

I just realized that in different versions of Windows and for different purposes, icons of different sizes are used. For example, the icon in the title bar of the window is much smaller than the icon of the program’s taskbar, especially in Windows 7.

I found. What icon sizes should the icon of my Windows application contain? A very useful list of icon sizes used by Windows, but I don’t know how to ensure that Windows can choose the right size for certain tasks.

I would appreciate any advice or help from anyone on this. I don’t know how much I understood myself, so if someone wants me to clarify everything, please feel free to ask.

Also, if anyone knows if this applies to the Mac or how I can adapt it to my code so that it applies to OS X, please could you tell me about it.

UPDATE: this is for my Java Swing application

+3
source share
2 answers

See Window.setIconImages(List). Depending on the platform’s capabilities, you can use one of several images of different sizes as a window icon. The example File Browser GUI shows an example. This image shows a small icon used for the graphical user interface. The more it is visible when using alt-tabbing between windows.

yswnE.png

If the image is not square, Windows will fill it.

Java Web Start .


Re: :

  • fb-icon-16x16.png fm-icon-16x16.png
  • fb-icon-32x32.png fm-icon-32x32.png

.. - - ?

, . :

  • icon-small.png
  • icon-medium.png

.. . JRE , . - -16x16 , . " " .

, ?

JRE , . , .

, Windows .

DukeBox, , , . , (). Windows ( ) , . Windows PNG .

OTOH, AFAIU OS X . . , , . Mac. . .

( ) , , . , 3.

. : , Swing Q & A.

QIQxt.png

+10

SWT Java-, .

+2

All Articles