Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

JScrollPane scrolling

  Asked By: Kerri    Date: Jun 16    Category: Java    Views: 797

Is there any way to make a JScrollPane scroll woithout the user
having to click on the scrollbar? eg He clicks a down button and then
it scrolls down.



2 Answers Found

Answer #1    Answered By: Andrew Brown     Answered On: Jun 16

--> set JScrollPane.autoScroll(true)

Answer #2    Answered By: Gustavo Costa     Answered On: Jun 16

would that be with a JTable in? or what? ´cause you should move the
component inside actually.

Didn't find what you were looking for? Find more on JScrollPane scrolling Or get search suggestion and latest updates.