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

    Detect if JScrollPane could scroll

    user10878887
      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.