Developing SWT applications using eclipse

Source: Internet
Author: User
Developing SWT applications using eclipse

While SWT is integrated as part of the Eclipse plug-in API, for standalone
Application development it is best to develop against the SWT Standalone
Download. This document will help you get set up.

First, download the. Zip of SWT for your platform from
SWT Homepage
.

The SWT. ZIP file can then be imported into your workspace. In
File
Menu, chooseImport
And select
Existing projects into Workspace
Wizard.
(In newer versions of Eclipse, you can findExisting projects into Workspace
InGeneral
Category ).

Direct the Wizard to the location where you downloaded the. ZIP file.
This will create a project calledOrg. 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 onJava
Build path

Page, include the org. Eclipse. SWT project.

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 selecting
Run> Run as> JAVA application

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.