Introduction to the RAP Widget Toolkit

At the core of RAP operates the RAP Widget Toolkit (RWT), which largely implements the same API as the Standard Widget Toolkit (SWT). That is why many projects that build upon SWT (including JFace and Workbench) can run on RWT with little or no modifications. It can also be used without the workbench layer.

NOTE: “RWT“ refers to only this toolkit specifically, while “RAP” refers to the project in its entirety, including its ports of JFace, Workbench and Forms, the OSGI integration, Branding and Interaction Design API, tooling, demos and custom themes.

Among the features that RWT inherited from SWT are:

New features may be added to RWT if there is a strong demand for it, and it's technically feasible. If a feature is already present SWT but not in RWT, it may often (but not always) be because it's hard or impossible to implement in RWT.

To learn the SWT basics (which are all valid for RWT), we recommend reading the documentation and snippets provided by the SWT project homepage. A full reference specific to RWT can be found here.

SWT was developed for desktop applications, but RWT is used to build web applications. For this reason, there are some features that SWT supports that RWT can not, while RWT adds some features that are tailored to the specific requirements of web application development.