Widget toolkits must have a means to position the widgets in their containers.
The simplest way to define their positions is by defining their absolute (on the screen) or relative (to the parent) position in pixels or common distance units, but it is also often possible to layout the widgets by their relative positions without using distance units (see layout manager).
The Standard Widget Toolkit is a native widget toolkit for Java that was invented as part of the Eclipse project.
It is an alternative to the AWT and SwingJavaGUItoolkits provided by Sun Microsystems as part of the Java standard.
To display GUI elements, the SWT implementation accesses the native GUIlibraries of the operating system using JNI (Java Native Interface) in a manner that is similar to those programs written using operating system-specific APIs.
AWT (the Abstract Windowing Toolkit) was the first JavaGUItoolkit, introduced with J2SE 1.0 as one component of the Sun Microsystems Java standard.