2 Replies Latest reply on Sep 22, 2012 11:36 AM by darrylburke

    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.