Using Scroll Panes

A ScrollPane has nine compartments.

Column headers scroll horizontally and row headers scroll vertically.
We put one list in the row headers and one list in the view port.

Recommended Reading: The Swing Tutorial has an excellent lesson on How to Use Scroll Panes.