开发者

How to customize the size of frame Icon image?

开发者 https://www.devze.com 2023-02-15 17:46 出处:网络
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?

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消