In a previous article I already introduced you to SWT Stand alone Applications. In this article we’re actually going to build one.
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 the SWT homepage.
The SWT .zip file can then be imported into your workspace. In the File menu, choose Import and select the Existing Projects Into Workspace wizard. (In newer versions of eclipse, you can find Existing Projects Into Workspace in the General category).
The illustrations with this article come from a Linux version of Eclipse but like with Java it doesn’t matter which platform you’re using. Just like the code, the documentation is portable.
If you want to know more, an excellent resource is the Eclipse Documentation Website.