Standard Widget Toolkit

The Eclipse user interface is written in Java using the Standard Widget Toolkit (SWT). SWT uses the native facilities of your operating system to achieve high performance and fidelity indistinguishable from that of C-based applications. You can use the same toolkit for your own applications.

SWT is one of the three main GUI toolkits supported by Java. The other two are AWT and Swing. SWT provides limited interoperability with these, allowing you to host AWT and Swing controls inside a SWT application. On Windows, SWT can even host ActiveX and .NET controls. SWT is unique in its ability to bring these worlds together.

A framework called JFace is often used with SWT to provide higher-level concepts, such as viewers, actions, and wizards. Both SWT and JFace are included with the Eclipse SDK and RCP packages.

Online help

Help → Help Contents → Platform Plug-in Developer Guide → Standard Widget Toolkit

Web site

http://www.eclipse.org/swt

Get Eclipse IDE Pocket Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.