Learning SWT
»From the java part of the brain.
Getting started with a new framework is not an easy task, especially if it’s a UI toolkit such as Eclipse’s SWT. One way, I’ve found, that works with me is to peruse snippets of code that get straight to the point. The org.eclipse.swt.snippets project in the Eclipse CVS repository does just that. The project, which can be checked out via Eclipse, is an excellent illustration of techniques and UI widgets available to an SWT developer. I highly suggest you check out the project and run each snippet. Ok, maybe not each snippet, but you should definitely spend some time browsing them.
For instance, Snippet231 illustrates an SWT Table with multi-line columns. Before Eclipse 3.2, a third party SWT library had to be used to emulate that functionality.
To check out the Snippets project from Eclipse
-
File > New > Project
-
CVS > Projects from CVS
-
Create a new respository location with the following information
$CVSROOT=:pserver:anonymous@dev.eclipse.org:/home/eclipse
-
Or just enter the following details

Viola, you should be playing around with SWT snippets in no time. Visit SWT Snippets for more information.