JAVA给予不同的gui [英] JAVA giving different gui

查看:56
本文介绍了JAVA给予不同的gui的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我使用netbeans运行java swing应用程序时,它给了我不同的gui,而不是我将代码构建到可执行文件,即.jar并执行该jar文件。但.jar gui有更好的外观和感觉...为什么? ?

When i use netbeans for run java swing app then it gives me different gui than when i build that code to executable file i.e. .jar and execute that jar file.But .jar gui has better look and feel...why??

推荐答案

http:// docs.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html [ ^ ]



这是关于外观和感觉。你需要控制它。
http://docs.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html[^]

It''s about the look and feel. You need to control that.


这篇关于JAVA给予不同的gui的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆