Eclipse – Standard Widget Toolkit (SWT) – Installation

SWT, the Standard Widget Toolkit, will help us to draw windows for the Java platform.

On this webpage you will find links to download last stable releases

Once downloaded, open Eclipse, right click on the Explorer tab, then : Import… > General >Existing Projects into Workspace.
Click Next then select the Select archive file option and browse until, for example for Windows OS, your file.

Click Finish.

Now in your Package Explorer you can see the org.eclipse.swt project.

Right click in this Explorer to create a new Java project named for example project1.

Right click on project1 > Build Path > Configure Build Path > Java Build Path.
On the right there are several tabs.
Select Projects and click Add…
Select org.eclipse.swt and click OK.

You project project1 is now linked with SWT and you can use its classes.



Leave a Reply to assist you..

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s