13

在此页面:https://developers.google.com/java-dev-tools/download-wbpro,没有将 WindowBuilder Pro 安装到 Eclipse Juno (4.2) 的选项。

WindowBuilder Pro 是否已经与 Eclipse Juno 一起安装?

另外,有没有比 WindowBuilder Pro 更好的免费替代品?

4

5 回答 5

37

UPDATE 2019

Again WindowBuilder Pro is no longer included in any of the latest Eclipse versions. So you need to add it as was shown in the initial answer below.

It is also strange, that WindowBuilder Pro is not available when searching Eclipse Market place (checked with the latest as of now version of Eclipse For Enterprise Java Developers version 2019-09) despite the fact that the product's website is available.

But at least the related repository URL for the latest version of WindowBuilder Pro is now much compact and intuitive:

http://download.eclipse.org/windowbuilder/latest/

enter image description here


UPDATE 2014

As Sean Lynch noted in his answer WindowBuilder is included in Eclipse IDE for Java. Actually, it was already included there since version 3.7 (Eclipse Indigo), which was released in year 2011.

Note that currently, it is included by default only in the version for Java Developers, NOT in the version for Java EE Developers, which is the most downloaded and wanted version. So for the Eclipse IDE for Java EE Developers you still need to install it yourself.


Old answer

It is not installed by default in Eclipse.

The new WindowBuilder Pro home page is here: http://www.eclipse.org/windowbuilder/
On that page, in the "Current Status" section on the right, it says (emphasis mine):

"Welcome to the new WindowBuilder homepage!"


How to install WindowBuilder in Eclipse.

1) Copy the correct link for your version of Eclipse from the Update Site column (Release Version) on the download page:

enter image description here

2) In the Eclipse main menu choose Help > Install new Software...

enter image description here

3) In the appeared window click Add... button:

enter image description here

4) In the appeared dialog box, in the Name field write some descriptive name (like "WindowBuilder Pro") and paste the correct link (see step 1) in the Location field. After that click the OK button:

enter image description here

5) Select all the checkboxes that are going to appear, then click Next button and install WindowBuilder:

enter image description here


Another way to add a link to the list of available Software Sites:
in the Eclipse main menu choose Window > Preferences, in the preferences window choose Install/Update > Available Software Sites, click Add... button and go on as described above.


As for the better alternative, well, seems like WindowBuilder Pro is the most preferred: Best GUI designer for Eclipse?

Hope this helps.

于 2012-12-02T17:49:58.517 回答
1

WindowBuilder 似乎是目前最好的 gui 设计器,因为它可以解析和处理任何手动编写的代码,它不需要任何额外的文件(xmls 等)。它总是试图对代码进行最小的更改。

于 2013-06-24T23:08:34.857 回答
1

WindowBuilder 现在包含在面向 Java 开发人员的 Eclipse IDE 中。

eclipse-java-kepler-SR2-win32.zip

于 2014-03-11T10:18:50.413 回答
1

2017 年 2 月更新

从 Neon 开始,不再包含它:http: //www.eclipse.org/downloads/packages/eclipse-ide-java-developers/neon2

请检查该网站是否有任何未来更新,因为它可能随时更改。

请注意,您还可以从 Eclipse Marketplace 轻松获取 WindowBuilder。

于 2017-02-06T06:13:35.993 回答
0

如果您需要在连接到 Internet 的计算机上获取 WindowBuilder,这很容易。“使用 Eclipse 市场。

如果您的计算机未连接到 Internet(无法访问 Eclipse Marketplace),您将不得不为 Neon 和 Oxygen 做一些不同的事情:

使用旧答案中的第一个链接,您将单击您感兴趣的版本(4.6、4.7 等)的“集成版本”“链接”。在该页面上,您会被告知“您已经接近了!此 URL 是一个 Eclipse 软件存储库;您必须在 Eclipse 中使用它(看看如何)。”

但是,您可以通过单击“显示目录内容”(稍往左下)自行完成。

单击“repository.zip”并下载它。解压它。

在 Eclipse 中,选择“Help->Install New Software...” 在“Install”对话框中单击“Add...”。单击“添加存储库”对话框中的“本地...”,然后在“浏览文件夹”对话框中选择解压缩的存储库文件夹。在这两个对话框中单击“确定”,您会发现自己回到了“安装”窗口。

您应该在大空白处看到“WindowBuilder”。单击“全选”和“下一步>”。SWT 可能存在一些问题。您最终可能会看到一个名为“安装修复页面”的页面。单击“下一步>”。

在“安装详细信息”页面上,单击“下一步 >”。

同意许可(单击“我接受...”),然后单击“完成”。

您需要重新启动 Eclipse。

完毕。

于 2017-07-14T21:15:30.017 回答