我怎样才能创造一个“现代的”外观Java桌面应用程序? [英] How can I create a "modern looking" Java desktop application?

查看:271
本文介绍了我怎样才能创造一个“现代的”外观Java桌面应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

定期询问类似的问题,但其中许多答案都已过时。

Similar questions to this are asked periodically, but many of these answers are outdated.

我需要用Java构建一个跨平台的桌面应用程序。与当代桌面应用程序的质量相当。

I need to build a cross-platform desktop application in Java with a GUI of comparable quality to contemporary desktop apps.

Swing是默认选择,但我还没有遇到一个Swing应用程序,它至少看起来不太过时了和笨重(主观,我知道,但是使用GUI很难避免审美判断)。

Swing is the default choice, but I have yet to encounter a Swing application that didn't look, at the very least, quite dated and clunky (subjective, I know, but with GUIs it's hard to avoid aesthetic judgements).

我注意到新的比特币客户端现在使用QT和Java绑定,并且有一个有吸引力的用户界面,但这有一个缺点,它不再是纯Java。

I notice that the new Bitcoin client now uses QT with Java bindings, and does have an attractive user interface, but this has the disadvantage that it is no-longer pure Java.

我搜索Swing相关库时发现的很多东西是5岁或以上,即使桌面应用程序的美学从那时起已经有了很大的发展。

So much of what I find when I search for Swing-related libraries is 5 years old or older, even though the aesthetics of desktop applications have evolved significantly since then.

如果你需要从头开始构建Java桌面应用程序,你会用什么?它的GUI?

If you needed to build a Java desktop application from scratch, what would you use for its GUI?

解决方案

了解如何更改Java程序的外观。这允许您自定义程序的整体主题。
此处是有关更改LAF的信息。

Look into changing the Look and Feel of your Java program. This allows you to customize the overall "theme" of your program. Here is information on changing the LAF.

这篇关于我怎样才能创造一个“现代的”外观Java桌面应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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