在 Eclipse IDE 中设计 Java Swing GUI 的最简单方法是什么?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/10196933/
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
What is the easiest way to design Java Swing GUIs in Eclipse IDE?
提问by Tru
I've been coding basic UIs in Java manually and using NetBeans, but recently switched to Eclipse Indigo. I use the visual class builder to design SWT user interfaces in Eclipse but found out that it's painfully slow and laggy. It takes about four seconds for a change to be displayed and it's virtually impossible to build complex and large UIs with it effectively. Is this its usual behavior and is this the preferred way of building a Java Swing GUI in Eclipse?
我一直在用 Java 手动编写基本 UI 并使用 NetBeans,但最近切换到 Eclipse Indigo。我使用可视化类构建器在 Eclipse 中设计 SWT 用户界面,但发现它非常缓慢和滞后。显示更改大约需要四秒钟,并且几乎不可能用它有效地构建复杂和大型的 UI。这是它的通常行为吗,这是在 Eclipse 中构建 Java Swing GUI 的首选方式吗?
回答by Wojtek Owczarczyk
Since Google aquired Instantiations and then donated WindowBuilderto Eclipsefoundation it is the preferred free, open source visual GUI editor for Swing, SWT and GWT.
由于 Google 收购了 Instantiations,然后将WindowBuilder捐赠给了Eclipse基金会,因此它是Swing、SWT 和 GWT首选的免费、开源可视化 GUI 编辑器。
回答by karim
You can also use Jigloo.
您也可以使用Jigloo。
Their eclipse update site it, http://cloudgarden.com/update-site
他们的eclipse更新站点吧,http://cloudgarden.com/update-site
I have used it in windows quite well. But when I use it in mac, most of the time it crash.
我已经在 Windows 中很好地使用了它。但是当我在 mac 中使用它时,大部分时间它都会崩溃。
But windows builder seems better to me.
但是 Windows Builder 对我来说似乎更好。