Uses of Interface javax.swing.Scrollable (Java Platform SE 8 )
Date: 2026-08-19

## Uses of Interface
javax.swing.Scrollable

- Packages that use Scrollable
  Package | Description
  --- | ---
  javax.swing | Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms.
  javax.swing.text | Provides classes and interfaces that deal with editable and noneditable text components.
  javax.swing.tree | Provides classes and interfaces for dealing with `javax.swing.JTree`.

- - ### Uses of Scrollable in javax.swing

    Classes in javax.swing that implement Scrollable
    Modifier and Type | Class and Description
    --- | ---
    `class` | `JEditorPane` A text component to edit various kinds of content.
    `class` | `JFormattedTextField` `JFormattedTextField` extends `JTextField` adding support for formatting arbitrary values, as well as retrieving a particular object once the user has edited the text.
    `class` | `JLayer<V extends Component>` `JLayer` is a universal decorator for Swing components which enables you to implement various advanced painting effects as well as receive notifications of all `AWTEvent`s generated within its borders.
    `class` | `JList<E>` A component that displays a list of objects and allows the user to select one or more items.
    `class` | `JPasswordField` `JPasswordField` is a lightweight component that allows the editing of a single line of text where the view indicates something was typed, but does not show the original characters.
    `class` | `JTable` The `JTable` is used to display and edit regular two-dimensional tables of cells.
    `class` | `JTextArea` A `JTextArea` is a multi-line area that displays plain text.
    `class` | `JTextField` `JTextField` is a lightweight component that allows the editing of a single line of text.
    `class` | `JTextPane` A text component that can be marked up with attributes that are represented graphically.
    `class` | `JTree` A control that displays a set of hierarchical data as an outline.

  - ### Uses of Scrollable in javax.swing.text

    Classes in javax.swing.text that implement Scrollable
    Modifier and Type | Class and Description
    --- | ---
    `class` | `JTextComponent` `JTextComponent` is the base class for swing text components.

  - ### Uses of Scrollable in javax.swing.tree

    Classes in javax.swing.tree that implement Scrollable
    Modifier and Type | Class and Description
    --- | ---
    `class` | `DefaultTreeCellEditor.DefaultTextField` `TextField` used when no editor is supplied.

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.