简体   繁体   English

有什么方法可以在Netbeans Swing GUI Builder上更改Java Swing GUI图标吗?

[英]Are there any ways to change Java Swing GUI icon on Netbeans Swing GUI Builder?

Are there any ways to let Netbeans Swing GUI Builder do the work of changing the GUI application icon and automate the codes required? 有什么方法可以让Netbeans Swing GUI Builder进行更改GUI应用程序图标并自动执行所需代码的工作? I know eclipse with WindowBuilder Pro plugin will be able to do that for me but I just want to check if this can be done using Swing GUI Builder. 我知道带有WindowBuilder Pro插件的eclipse可以为我做到这一点,但我只想检查是否可以使用Swing GUI Builder完成。

TIA. TIA。

1) not this is not possible, method Frames.getFrames() is private method and not accesible from outside, for Container based on Java Desktop Application 1)对于基于Java桌面应用程序的容器,这不是不可能的,方法Frames.getFrames()是私有方法,无法从外部访问

2) use Standard Swing JFrame , and wrote your code by your hands, then you'll never solve another issues rellated with this depreciated GUI Framework 2)使用Standard Swing JFrame并手动编写代码,那么您将永远不会解决与该折旧的GUI框架相关的其他问题

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

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