Class ScrollPane

  • All Implemented Interfaces:
    java.lang.Iterable<Component>, Sequence<Component>, ConstrainedVisual, Visual

    public class ScrollPane
    extends Viewport
    Container that provides a scrollable view of a component, with optional fixed row and column headers.

    The single component to be scrolled will typically be a Container and should be specified by the setView() method (the "view" property). So, even then though this class is a Container, you should not add components to it via the add() method.