我可以在没有 GWT 支持的情况下使用 WindowBuilder(一个 Java 可视化编辑器 Eclipse 插件)吗?

发布于 2024-10-09 15:35:22 字数 507 浏览 0 评论 0原文

我可以使用 WindowBuilder (Java 可视化编辑器 Eclipse 插件)而不使用 Google Web Toolkit (GWT) 支持吗?

我对此有点困惑。看起来它与 GWT 集成来构建 Google Web 应用程序。

但是我可以使用它为标准 Java 应用程序构建 GUI(例如 NetBeans)吗?

我知道这听起来很傻,但我花了很多时间来知道是否可能,但我不知道。

请注意,我是 Mac 用户(Mac 上的 WindowBuilder 似乎不完全支持)。

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).

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

∞觅青森が 2024-10-16 15:35:22

除了 GWT 应用程序之外,WindowBuilder 还支持创建 SWT、RCP、XWT 和 Swing 应用程序。它在 Windows、Linux 和 OSX 下得到完全支持。最近宣布,Google 将向 Eclipse.org 捐赠 WindowBuilder 引擎以及 SWT 和 Swing 工具。

如果您无法打开非 GWT 文件并收到“未知 GUI 工具包”错误,这意味着您要么存在类路径问题(我们的项目尚未配置为使用任何 UI 工具包),要么您的安装不完整WindowBuilder(例如,如果您只加载了 WB 的 GWT 部分,则无法编辑 SWT 或 Swing UI)。

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).

一杯敬自由 2024-10-16 15:35:22

是的,这是可能的。除了 GWT 之外,WindowBuilder 还支持 Swing 和 SWT,并且在 Mac OS 上得到完全支持。

我经常在我的 Mac 上使用它进行 SWT 开发;-)

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 ;-)

怪我闹别瞎闹 2024-10-16 15:35:22

安装 WindowBuilder 并不是所有必需的插件。您还需要安装 eRPC、Swing、SWT Designer 插件。例如从这里:
http://download.eclipse.org/windowbuilder/WB/release/R201106211200/ 3.7/

对我来说这有帮助。

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文