This discussion is archived
2 Replies Latest reply: Sep 22, 2012 4:36 AM by DarrylBurke RSS

Detect if JScrollPane could scroll

user10878887 Newbie
Currently Being Moderated
I have a JScrollPane.
The vertical scollbar is displayed autommaticaly if there is something to scroll.
And is hidden autommaticaly if there is nothing to scroll.

How can I detect if there is something to scroll or not?

Thank you.


  • Correct Answers - 10 points
  • Helpful Answers - 5 points