Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Scroll Bars

 
Shane Roylance
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to have a scroll bar with page up/down and begin/end buttons on it. Is there an easy way to add those to a JScrollBar, or is there another object that may already have something like that available? I've actually tried to add buttons to a JScrollBar object, and it doesn't seem to be working too well.
Shane
 
Rene Liebmann
Ranch Hand
Posts: 196
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
nice idea, but I never tried this. I would create a new JavaBean, which has a BorderLayout or something else. Then you can add the JScrollBar and your Buttons.
Rene
 
Shane Roylance
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the suggestion Rene, I have tried this, but I can't get it to look the way I want it. Does anyone have any other suggestions.
tia
Shane
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!