# Package org.eclipse.swt

package org.eclipse.swt
SWT constants and error handling support.

## Package Specification

This package provides the class `SWT` which contains all of the constants used by SWT as well as a small selection of error handling routines and queries such as `getPlatform` and `getVersion`.

Related Packages
Package
Description
org.eclipse.swt.accessibility
SWT Accessibility.
org.eclipse.swt.awt
SWT AWT embedding support.
org.eclipse.swt.browser
SWT Browser widget.
org.eclipse.swt.custom
SWT Custom widgets.
org.eclipse.swt.dnd
SWT Drag and Drop support.
org.eclipse.swt.events
SWT typed listener support.
org.eclipse.swt.graphics
SWT graphics classes.
org.eclipse.swt.internal
SWT internal classes
org.eclipse.swt.layout
SWT layout classes.
org.eclipse.swt.opengl
SWT OpenGL support.
org.eclipse.swt.printing
SWT Printing support classes.
org.eclipse.swt.program
SWT Program support class.
org.eclipse.swt.widgets
SWT widget public API classes.
Class
Description
SWT
This class provides access to a small number of SWT system-wide methods, and in addition defines the public constants provided by SWT.
SwtCallable<V, E extends Exception>
A method that returns a result and may throw a checked exception of the given type.
SWTError
This error is thrown whenever an unrecoverable error occurs internally in SWT.
SWTException
This runtime exception is thrown whenever a recoverable error occurs internally in SWT.
SwtRunnable<E extends Exception>
A method that returns no result and may throw a checked exception of the given type.