2 Replies Latest reply: Sep 22, 2012 6:36 AM by darrylburke RSS

    Detect if JScrollPane could scroll

      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.