• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

Scroll Bars

 
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 196
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
reply
    Bookmark Topic Watch Topic
  • New Topic