What is the difference between a Scrollbar and a ScrollPane?
Java Interview Questions and Answers (part 2)
(Continued from previous question...)
341. What is the difference between a Scrollbar and a ScrollPane?
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.
(Continued on next question...)
Other Interview Questions