简体   繁体   English

使用netbeans更改jframe(“ java”)徽标

[英]change jframe(“java”) logo using netbeans

how to change jframe logo of java in netbeans ,what is the code to change the logo 如何在NetBeans中更改Java的jframe徽标,更改徽标的代码是什么

Thanks, 谢谢,

Khoyendra 霍恩德拉

You have to call the setIconImage method on your JFrame and pass in the image you want to show as the icon for your application. 您必须在JFrame上调用setIconImage方法,然后传入要显示为应用程序图标的图像。

This example should get you on your way 这个例子应该可以帮助您

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM