图形用户界面框架Java
我正在寻找一些框架或工具包(样式拖放)用于在 Java 中创建 gui。我需要使用对接、工具栏、表格等来完成相当复杂的应用程序。
哪一个最好?
I am looking for some framework or toolkit (style drag and drop) for creating gui in Java. I need to do quite complex application with dockings, toolbars, tables etc.
Which one would be best?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
Netbeans 平台可能就是您正在寻找的,它基于 Swing,并且 Netbeans IDE 可以作为它的展示,请查看 http://platform.netbeans.org/
我认为 SWT 上的等效项是 http://www.eclipse.org/platform/
The Netbeans Platform might be what you are looking for, it is based on Swing, and the Netbeans IDE can be a showcase for it, check http://platform.netbeans.org/
I think the equivalent on SWT is http://www.eclipse.org/platform/
如果您正在寻找 GUI 构建器,NetBeans 是一个不错的选择。否则的话,你可以自己用Swing或者SWT写吗?
If you're looking for a GUI builder, NetBeans has a decent one. Otherwise, you can just write it yourself in Swing or SWT?
开始阅读 Swing 架构,然后使用 Netbeans UI 构建器,最后用JIDE Software< /a> 库。
JIDE 有多个库,例如:
JIDE 对接:
JIDE 网格:
还有更多。我认为唯一不方便的是,在使用 Swing 之前您需要很好地了解它是如何工作的(或者您可以在这个过程中获取这些知识)
Start reading Swing Architecture and then use Netbeans UI builder and finally complement it with JIDE Software libraries.
JIDE have several libraries, for instance:
JIDE Docking:
JIDE Grids:
And many more. The only inconvenient I see is, you need a good understanding on how does Swing works before using it ( or you can acquire that knowledge in the process )
eclipse rcp,spring 富客户端,griffon
所有这些框架可以很好地避免再次编写样板代码(支持对接、窗口管理、对话框管理、首选项管理)。
我必须注意,它们都不支持完全拖放,但有一些 IDE 可以帮助您在可视化编辑器中构建 Swing 面板、组件等。 Eclipse IDE 和 NetBeans IDE 都有 GUI 生成器/可视化编辑器。
我更喜欢的选择是 spring 富客户端,因为它很容易上手,它是基于 swing 的,它集成了对接框架、组件库……并且它使用了 spring。
如果您需要可插拔架构,那么您应该看看 eclipse 或 netbeans。
编辑:我的意思是 eclipse rcp
eclipse rcp, spring rich client, griffon
all of these frameworks are good to avoid writing boiler-plate code all over again (support for docking, window management, dialog management, preferences management).
i must note that complete drag 'n drop is not supported in none of them out of the box, but there are IDE's that help you in building Swing panels, components, ... in a visual editor. both Eclipse IDE and NetBeans IDE have a GUI Builder/visual editor.
my prefered choice is spring rich client because it's easy to get started, it's swing-based, it integrates with docking frameworks, component libraries, ... and it uses spring.
if you need a pluggable architecture then you should take a look at eclipse, or netbeans.
edited: i mean eclipse rcp