• Post Reply Bookmark Topic Watch Topic
  • New Topic

Scrolling a JScrollpane through Code.  RSS feed

 
Shaun Brierly
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How do you do this?.. for instance, the user presses a certain key and the Scrollpane will scroll...
Thanks
 
Roy Ben Ami
Ranch Hand
Posts: 732
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how about the method setScrollPosition(int x, int y) ?
 
Shaun Brierly
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'll have to try that, thanks =D
Shaun
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!