Standard Widget Toolkit

Original author(s)Stephen Northover
Developer(s)Eclipse Foundation
Initial releaseApril 2003; 21 years ago (2003-04)
Stable release
4.29 / September 3, 2023; 14 months ago (2023-09-03)
Repository
Written inJava
Operating systemCross-platform
PlatformJava platform
Available inMultilingual
TypeWidget toolkit for Java platform
LicenseEclipse Public
Websitewww.eclipse.org/swt

The Standard Widget Toolkit (SWT) is a graphical widget toolkit for use with the Java platform. It was originally developed by Stephen Northover at IBM and is now maintained by the Eclipse Foundation in tandem with the Eclipse IDE. It is an alternative to the Abstract Window Toolkit (AWT) and Swing Java graphical user interface (GUI) toolkits provided by Sun Microsystems as part of the Java Platform, Standard Edition (J2SE).

To display GUI elements, the SWT implementation accesses the native GUI libraries of the operating system using Java Native Interface (JNI) in a manner that is similar to those programs written using operating system-specific application programming interfaces (APIs). Programs that call SWT are portable, but the implementation of the toolkit, despite part of it being written in Java, is unique for each platform.

The toolkit is free and open-source software distributed under the Eclipse Public License, which is approved by the Open Source Initiative.[1]

  1. ^ Open Source Initiative. "Licenses By Name". Retrieved 2007-03-24.