How to customize the size of frame Icon image?
I am creating Swing frame demo.
I have set an 开发者_JS百科image icon in the title bar of JFrame
, and I know the default size of the icon is 16x16. How can I change the height and width of the icon?
The frame icon image size can't be changed. If you need something really custom you will to create your own decorations for a window, but that is not as simple as just changing the size of an icon.
精彩评论