Developing SWT applications using Eclipse

Source: Internet
Author: User

Developing SWT applications using Eclipse

While SWT was integrated as part of the Eclipse plug-in API, for standalone application development It's best to develop a Gainst the SWT standalone download. This document would help you to get set up.

First, download the. zip of SWT for your platform from the SWT homepage.

The SWT. zip file can then is imported into your workspace. The File menu, chooseImport and select the Existing Projects into Workspace Wizard. (in newer versions of Eclipse, you can find Existing Projects to Workspace in the General category).

Direct the wizard to the location where you downloaded the. zip file. This would create a project called ORG.ECLIPSE.SWT in your workspace.

Your Java projects can then add the SWT project as a dependency. Open the properties dialog of your Java project, and on the Java Build Path page, include the ORG.ECLIPSE.SWT Pro Ject.

With the SWT project as a dependency, you can now benefit from Eclipse features such as the Javadoc View and code assist.

Now you can run any main class in your project by selecting the class and then selectingRun > Run as > Java Appl Ication

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.