Eclipse 中的视觉摆动
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/564156/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Visual swing in Eclipse
提问by user29772
Is there any way I can use a visual editor to make swing applications in Eclipse? I'm using Ganymede.
有什么办法可以使用可视化编辑器在 Eclipse 中制作 Swing 应用程序吗?我正在使用木卫三。
采纳答案by Evan
I use Jiglooa fair bit and it is quite good. Can generate GUIs for both Swing and SWT. Free for non-commercial use, and pretty affordable at $US85 per developer for commercial use. Works fine with 3.4 (Ganymede).
我经常使用Jigloo,它非常好。可以为 Swing 和 SWT 生成 GUI。免费用于非商业用途,并且非常实惠,每位开发人员 85 美元用于商业用途。适用于 3.4 (Ganymede)。
回答by Tim Abell
Your options are:
您的选择是:
WindowBuilder Pro(eclipse.org): "WindowBuilder is a powerful and easy to use bi-directional Java GUI designer", see also WindowBuilder Pro on code.google.com.
Visual Swing for Eclipse- an editor that works directly with the .java source files. Notes:
- The update url on the front page is wrong (issue 115), should instead be:
http://visualswing4eclipse.googlecode.com/svn/trunk/vs4e/
- You have to untick "Group items by category" to be able to see the install.
- The original announcement of visual swing for eclipse.
- Crashed for me when opening a netbeans-generated swing file.
- The update url on the front page is wrong (issue 115), should instead be:
Visual Editor from ehecht.com- someone's own version, last updated 2010-08-29: "prelininary [sic] eclipse 3.6 (helios) version" (direct download: ve_eclipse_36_win32_201008292115.zip) "These files are non official builds. So you use it on [sic] your own risk."
Use NetBeansinstead
- Built-in GUI editor
- Uses an xml file as the source for gui design, performing a one-way conversion
- Adds its own libraries to your project to support GUI creation.
Jigloo SWT/Swing GUI Builder for Eclipse and WebSphere- Note: Jigloo is free for non-commercial use, but purchase of a Professional License is required for commercial use (after successfully evaluating Jigloo).
WindowBuilder Pro(eclipse.org):“WindowBuilder 是一个功能强大且易于使用的双向 Java GUI 设计器”,另请参阅code.google.com 上的 WindowBuilder Pro。
Visual Swing for Eclipse- 直接处理 .java 源文件的编辑器。笔记:
- 首页上的更新 url 是错误的(issue 115),应该是:
http://visualswing4eclipse.googlecode.com/svn/trunk/vs4e/
- 您必须取消勾选“按类别分组项目”才能看到安装。
- eclipse 视觉摆动的原始公告。
- 打开 netbeans 生成的 Swing 文件时,我崩溃了。
- 首页上的更新 url 是错误的(issue 115),应该是:
ehecht.com 的可视化编辑器- 某人自己的版本,最后更新于 2010年 8 月29日:“prelininary [sic] eclipse 3.6 (helios) version”(直接下载:ve_eclipse_36_win32_201008292115.zip)“这些文件是非官方版本。所以你使用[原文如此] 你自己承担风险。”
使用NetBeans的,而不是
- 内置图形用户界面编辑器
- 使用 xml 文件作为 gui 设计的来源,执行单向转换
- 将其自己的库添加到您的项目以支持 GUI 创建。
Jigloo SWT/Swing GUI Builder for Eclipse 和 WebSphere-注意:Jigloo 可免费用于非商业用途,但商业用途需要购买专业许可证(成功评估 Jigloo 后)。
Options no longer viable / available:
选项不再可行/可用:
- Official "Visual Editor", archived by eclipse: (Archived: June 2011), the matching install instructions at http://wiki.eclipse.org/VE/Update, and the outdated article / tutorial at http://www.eclipse.org/articles/Article-VE-Custom-Widget/customwidget.html, see also Is eclipse visual editor dead?
- 官方“可视化编辑器”,由 eclipse存档:(存档时间:2011 年 6 月),http://wiki.eclipse.org/VE/Update 上的匹配安装说明,以及http: //www.eclipse 上的过时文章/教程.org/articles/Article-VE-Custom-Widget/customwidget.html,另见eclipse 可视化编辑器死了吗?
This is a summary of all the other answers to this question as it took me a while to make sense of them.
这是对这个问题的所有其他答案的总结,因为我花了一段时间才理解它们。
回答by jfpoilpret
You may want to give a try at this free Swing visual editorfor eclipse. I had not time to give it a run already but that's on my todo list (this editor looks interesting and it is open source).
您可能想尝试一下这个免费的用于 Eclipse 的Swing 可视化编辑器。我已经没有时间运行它了,但这在我的待办事项清单上(这个编辑器看起来很有趣,而且它是开源的)。
回答by VonC
You could try to install echech's version of VE(Visual Editor).
You have here another setup procedureto follow if the first does not work
您可以尝试安装echech 版本的 VE( Visual Editor)。如果第一个不起作用,
您可以在此处执行另一个设置过程
It should work with with eclipse3.4 (Ganymede).
Or you could download the original version and install it in a eclipse3.2 setup.
它应该与 eclipse3.4 (Ganymede) 一起使用。
或者您可以下载原始版本并将其安装在 eclipse3.2 设置中。
It is the only Visual EditorI knowknew of which iswas free and support Swing.
Note: it is an archived Eclipse project since June 2011.
它是我唯一的可视化编辑器知道知道哪个 是是免费的并支持 Swing。
注意:它是自 2011 年 6 月以来已归档的 Eclipse 项目。
tehvanmentions a commercial editor: SwingDesigner(now only WBPro for Smalltalkremains)
tehvan提到了一位商业编辑:摇摆设计师(现在只剩下用于 Smalltalk 的 WBPro)