Java SWT tutorial

This is Java SWT tutorial. In this tutorial, we will learn the basics of GUI programming with Java SWT library. The tutorial is suitable for beginners and intermediate programmers. The tutorial uses JDK 8.

Table of contents


The Standard Widget Toolkit (SWT) is a graphical widget toolkit for the Java programming language. It was originally developed by IBM and is now part of the Eclipse Foundation. It is an alternative to Swing and JavaFX. SWT uses native GUI APIs like Windows API or GTK+ to create its widgets via the Java Native Interface (JNI).

Related tutorials and e-books

There is the Advanced Java Swing e-book, the Java Swing tutorial, the JavaFX tutorial, and the Java tutorial.