A set of GUI components implemented in Java that are based on the Lightweight UI Framework. Swing components include:

  • Java versions of the existing Abstract Windowing Toolkit (AWT) components, such as Button, Scrollbar, and List.
  • A set of high-level Java components, such as tree-view, list-box, and tabbed-pane components.

The Swing tool set lets you create a set of GUI components that automatically implements the appearance and behavior of components designed for any OS platform, but without requiring window-system-specific code.

Swing components are part of the Java Foundation Class library beginning with version 1.1.