Can I use WindowBuilder (a Java visual editor Eclipse plugin) without GWT support?

ぐ巨炮叔叔 提交于 2019-12-07 12:14:27

问题


Can I use WindowBuilder (a Java visual editor Eclipse plugin) without Google Web Toolkit (GWT) support?

I'm a little bit confused about it. It seems that it is integrated with GWT to build Google web applications.

But can I use it to build a GUI for standard Java applications (like NetBeans)?

I know it sounds silly, but I spend a lot of time to know if is it possible or not, but I couldn't know.

Notice that I am a Mac user, (WindowBuilder on Mac seems not fully supported).


回答1:


WindowBuilder supports creating SWT, RCP, XWT and Swing apps in addition to GWT apps. It is fully supported under Windows, Linux and OSX. It was recently announced that Google is donating the WindowBuilder Engine along with the SWT and Swing tooling to Eclipse.org.

If you are unable to open a non-GWT file and receive an "Unknown GUI toolkit" error, this means that you either have a classpath problem (our project has not been configured to use any UI toolkit) or you have an incomplete installation of WindowBuilder (for example, if you only have the GWT portion of WB loaded, you would not be able to edit SWT or Swing UIs).




回答2:


Yes it's possible. WindowBuilder supports both Swing and SWT in addition to GWT, and it is fully supported on Mac OS.

I use it frequently for SWT development, on my Mac ;-)




回答3:


Installing WindowBuilder is not all required plugin. You need also install eRPC, Swing, SWT Designer plugins. For example from here: http://download.eclipse.org/windowbuilder/WB/release/R201106211200/3.7/

For me this helps.



来源:https://stackoverflow.com/questions/4566150/can-i-use-windowbuilder-a-java-visual-editor-eclipse-plugin-without-gwt-suppor

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!