A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Mikado Method
this week in the
Agile and other Processes
Swing / AWT / SWT
Joined: Sep 25, 2004
Dec 17, 2004 02:41:00
I need to get the maximum posible scrool position of a JScrollbar
The getMaximum() simes to work fine!
But the getVlaue is not as good. When i print out all the getvalues as soon as i move the scrool i have notice that when the scrool is in the top, the value is never 0, insted its 10-20 ?
And when the Scrool bar is at the bottom it shold be the sam value that the getMaximum, but insted there can be a big diffrent, say Maximum = 5300 and the value at the buttom is about 4200-4600 ??
Is there any way to get a more specified values for the scrollers position?
I agree. Here's the link:
- if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
subject: JScrool.getMaximum/getValue problem=
automatic scrool to the Textarea
Problem with the date 2005-07-14
Positioning scroll bar
Force Scrool on JTextPane?
Make it abled to scrool Horizontal
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013