Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Is there any way to bring the a Vertical Scroll Bars of the Scroll Pane at the Bottom by default???

 
Chinmay Kant
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Is there any way to bring the a Vertical Scroll Bars of the Scroll Pane at the Bottom by default???

My problem is that I need to have a vertical scroll bar not at top but at the bottom of the Pane by default i.e when window is created.
Currently the scroll bar is at top.

Thanks in advance !!!

 
Maneesh Godbole
Saloon Keeper
Posts: 11021
12
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why do you want to do that? Are you displaying some data, inside the scroll pane? What component?
 
Rob Spoor
Sheriff
Pie
Posts: 20495
54
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How did you get the scroll bar at the top anyway? JScrollPane always put it at the bottom for me.
 
Maneesh Godbole
Saloon Keeper
Posts: 11021
12
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are we talking about the scrollbar slider? For me it is on top by default.
e.g. if I got a table with 50 rows, the 1st row is visible instead of the last one. (on Windows)
 
Chinmay Kant
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes I am talking of Sliders only.

Currently, in My Scroll Pane, i have a panel on which a image is shown.

The vertical slider for this image should by default be at bottom of scroll pane
which currently is coming at the top of scroll pane.
 
Maneesh Godbole
Saloon Keeper
Posts: 11021
12
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Strange.
Can you post a sscce code which demonstrates this probem?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic