使用 Eclipse (Java) 创建 GUI
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/6533243/
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
Create GUI using Eclipse (Java)
提问by Wassim AZIRAR
Possible Duplicate:
Best GUI designer for eclipse?
可能的重复:
Eclipse 的最佳 GUI 设计器?
Is there any Eclipse Plugin tool(s) who can help to create Graphical User Interface for (swing, awt or swt), because I'm tired of writing everytime the code of Panels, Labels, ...
是否有任何 Eclipse 插件工具可以帮助为(swing、awt 或 swt)创建图形用户界面,因为我厌倦了每次编写面板、标签、...
Thanks
谢谢
采纳答案by Grzegorz Szpetkowski
Yes. Use WindowBuilder Pro(provided by Google). It supports SWT and Swing as well with multiple layouts (Group layout, MiGLayout etc.) It's integrated out of the box with Eclipse Indigo, but you can install plugin on previous versions (3.4/3.5/3.6):
是的。使用WindowBuilder Pro(由 Google 提供)。它支持 SWT 和 Swing 以及多种布局(组布局、MiGLayout 等)。它与 Eclipse Indigo 开箱即用,但您可以在以前的版本 (3.4/3.5/3.6) 上安装插件:
回答by Java_Waldi
回答by Penkov Vladimir
try http://code.google.com/p/swinghtmltemplate/
尝试http://code.google.com/p/swinghtmltemplate/
this will allow you to create gui with html-like syntax
这将允许您使用类似 html 的语法创建 gui
回答by Sorceror
There are lot of GUI designers even like Eclipse plugins, just few of them could use both, Swing and SWT..
有很多 GUI 设计师甚至喜欢 Eclipse 插件,只有少数人可以同时使用 Swing 和 SWT。
WindowBuilder Pro GUI Designer - eclipse marketplace
WindowBuilder Pro GUI 设计器 - eclipse 市场
WindowBuilder Pro GUI Designer - Google code home page
WindowBuilder Pro GUI Designer - Google 代码主页
and
和
Jigloo SWT/Swing GUI Builder - eclipse market place
Jigloo SWT/Swing GUI Builder - eclipse 市场
Jigloo SWT/Swing GUI Builder - home page
Jigloo SWT/Swing GUI Builder - 主页
The window builder is quite better tool..
窗口生成器是更好的工具..
But IMHO, GUIs created by those tools have really ugly and unmanageable code..
但是恕我直言,这些工具创建的 GUI 代码非常丑陋且难以管理。