What is the difference between a Scrollbar and a ScrollPane?

Q

What is the difference between a Scrollbar and a ScrollPane?

✍: Guest

A

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.

2013-01-21, 2970👍, 0💬