使用 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

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-16 06:43:20  来源:igfitidea点击:

Create GUI using Eclipse (Java)

javaswinguser-interfaceswtawt

提问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) 上安装插件:

enter image description here

在此处输入图片说明

回答by Java_Waldi

Yes, there is one. It is an eclipse-plugin called Visual Editor. You can download it here

是的,有一个。它是一个名为 Visual Editor 的 Eclipse 插件。你可以在这里下载

回答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 代码非常丑陋且难以管理。