Win a copy of Murach's Python Programming this week in the Jython/Python 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???  RSS feed

 
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
Bartender
Posts: 11445
18
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
Posts: 20893
81
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
Bartender
Posts: 11445
18
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
Bartender
Posts: 11445
18
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?
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!