A JScrollPane is intended as a container for a single large component such as a text area, a table, or a panel containing a large image. It gives the user the capability of scrolling the large component to display different parts of it.