A Scrollbar is a Component, but not a Container. A ScrollPane is a Container.
A ScrollPane handles its own events and performs its own scrolling.
A Scrollbar is a Component, but not a Container. A ScrollPane is a Container.
A ScrollPane handles its own events and performs its own scrolling.