Eclipse Builds SWT Environment

Source: Internet
Author: User

First, check the current version of the Exlipse model

Find the help---about Eclipse option in the Exlpse options bar to see the version number of the current exlipse.

Second, to the official website to download the matching SWT plugin, or directly installed online

SWT plug-in: http://www.eclipse.org/windowbuilder/download.php

Find the same SWT version as the version of Exlipse that you are using, the version I am currently using is 4.4.2, I have this version instance.

Note: The update site under the Release Version column is the online installation address, Zipped Update site is the download plugin file

Third, install SWT plug-in

Install SWT plug-in two ways: 1 online installation, using the official website of the plug-in address in the Exlipse directly installed. 2, local installation, the official website to download the plugin and then install into the Exlipse!

1, online installation

1), in the Exlipe options bar, find help--Install New software.

2), my current instance version is 4.4.2 so I get the SWT address is: http://download.eclipse.org/windowbuilder/WB/release/R201506241200-1/4.4/

Create a new plug-in name Import plugin: Location text box fill in the SWT website address.

3), select the plug-in you need to select the hook, and then the next step down, OK!

2. Local Installation

Local address path of the current download plugin: C:\Users\Dream\Downloads\WB_v1.8.0_UpdateSite_for_Eclipse4.4.zip

There are two ways to install locally:

1), such as online installation similar, and then in the second step of online installation, the SWT official website address to the local address, the following steps!

2), unzip the plugin file, the plug-in folder has two folders features, plugins, find exlipse root directory. Place the files in the two folder of the SWT plugin into the corresponding folder in Exlipse.

3. See if SWT is installed successfully

Zhaodan Windows--prefences-->windorbudier in the Exlipse line bar to see if there are SWT plugins!

Iv. activating SWT Plug-ins, inactive plugins can only use one part of the functionality

Plugin activation: Http://o.uzzf.com/SWT_Designer.zip

After downloading, unzip the file, click on the Win32.bat file, effect such as:

V. Creation of the SWT project

1), open ECLIPSE,NEW->OTHER->WINDOWBUILDER->SWT designer->swt/jface Java Project name It's up to you.

2), create Packge package in src directory, then right-click Change Package NEW->OTHER->WINDOWBUILDER->SWT Designer->jface->applicationwidow named with you!

3) Open the SWT window

SWT Graphics plugin installed, the new project has an interface, but there are no projects, how to solve?

Right-click->open with, choose your own editor ...

Eclipse Builds SWT Environment

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.