Java 图形用户界面/图形
Java 的主要“设计”包是什么?我环顾四周,就我所见,Swing 似乎相当有限。当然,我可能会做出评判,因为我对 Java 完全陌生。 使用什么包我可以在 Java 中真正创建漂亮的 GUI?
What are the main 'design' packages for Java? I had a look around and from what I see, Swing seems pretty limited. Of course I may be judgemental, as I am completely new to Java.
With what packages can I actually create beautifull looking GUIs in Java?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
摇摆,而且完全不受限制。
Swing, and it's not limited at all.
Swing 是除 Qt 之外最丰富的 GUI 框架之一。使用最新的 LAF 查看它 http://docs.oracle.com/javase /tutorial/uiswing/lookandfeel/nimbus.html
Swing is one of the richest GUI frameworks that exist other than Qt. See it with the latest LAF http://docs.oracle.com/javase/tutorial/uiswing/lookandfeel/nimbus.html
除了 Swing 之外,还有 SWT、Buoy 和 Qt Jambi,我认为这是最好的。
Aside from Swing there's SWT, Buoy and Qt Jambi which is the best in my opinion.
您可以尝试Pivot。高效、良好的设计,并且您可能会获得比 Swing 更好看的 UI。
You can try Pivot. Efficient, good design, and you may get better looking UI than Swing.
如果您阅读了这本书,就不能说 Swing 受到限制:http://filthyrichclients.org :-)。我认为 JavaFX 是一个不错的选择,因为它应该是 Java 桌面应用程序中 Swing 的“替代品”。您可以评估的其他不错的选择是 Apache Pivot 和 griffon(用于桌面应用程序的 grails 风格框架)。 Griffon 可以通过插件(Swing、JavaFX、SWT、Pivot、GTK)在不同的 UI 工具包上运行。
You cannot state that Swing is limited if you read this book: http://filthyrichclients.org :-). I think a good choose would be JavaFX as it is supposed to be a "replacement" for Swing in java desktop applications. Other good options you could evaluate are Apache Pivot and griffon (grails-style framework for desktop applications). Griffon can run on different UI toolkits through plugins (Swing, JavaFX, SWT, Pivot, GTK).