Java是开发跨平台GUI应用程序的最佳语言吗? [英] Is Java the best language to develop cross-platform GUI applications?

查看:602
本文介绍了Java是开发跨平台GUI应用程序的最佳语言吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

对于最好,我打算代码不需要或只需要很少的平台特定调整。

For "best" I intend that the code shouldn't need, or need very few, platform specific tweaks.

推荐答案

我强烈建议Java用于跨平台GUI开发。特别是,我建议使用 Netbeans IDE 附带的GUI构建器。它非常简单而且非常强大。您可以指向并单击并拖放以创建GUI,并轻松自定义各种按钮和其他组件所采取的操作。

I strongly recommend Java for cross-platform GUI development. In particular, I recommend the GUI builder that comes with the Netbeans IDE. It's very simple and very powerful. You can point and click and drag and drop to create a GUI, and easily customize the actions which various buttons and other components take.

我更喜欢Python作为一种语言,但是没有任何免费的GUI开发工具可以接近这一点,对于我使用的其他语言来说,同样的事情似乎也是如此。 (我应该指出, QT 为各种语言(如C和Python)提供了出色的GUI开发人员,但它只是免费的用于开源项目。)

I much prefer Python as a language, but none of the free tools for GUI development come anywhere close to this, and the same thing seems to be true for the other languages I've used. (I should point out that QT has wonderful GUI developers for various languages such as C and Python, but it's only free when used on open source projects.)

编辑:QT最近被重新许可为LGPL,因此您可以在商业应用程序中自由使用它。用于此的Python绑定(PyQT)尚未重新许可,但另一个名为 PySide 的项目已创建为提供Python QT绑定。

QT has recently been relicensed as LGPL, so you're free to use it in commercial applications. The Python bindings for this (PyQT) have not been re-licensed, but another project called PySide has been created to provide Python QT bindings.

这篇关于Java是开发跨平台GUI应用程序的最佳语言吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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