JScrollBar Question

Hello,

I have a requirement in my SW development to create a scrollbar that has a min = 0.00, max = 100.00 and increments must be
floating point values with 2 decimal places. Currently ion javadocs I see scrollbars that work only for intergers. Do anyone know
where I can find this or can anyone throw some light to create one like that?

-prain
prainAsked:
Who is Participating?
 
enachemcConnect With a Mentor Commented:
how will the user know what values the scrollbar uses ? you can do the transformations required. Display a 30,12 and use a 3012 value.
0
 
enachemcCommented:
can't you make your scorll bar work in ranges 0-10 000 and instead of increase with two decimal digitis ... increase with this multiplied by 100 ? This results only in integers being used.
0
 
prainAuthor Commented:
No I cannot do that. This situation is different, and the user MUST see the incremented value in 2 decimal places.
That's our requirement. The Max MUST be 100.00  (a floating point) and the min MUST be (0.00).  Increments or
decrements MUST be in two decimal places. That's the requirement we have.
0
 
prainAuthor Commented:
Ok. I think I get your point. Let me try this out and get back with you. Nice insight.
0
 
prainAuthor Commented:
Thanks. Works Well.
0
All Courses

From novice to tech pro — start learning today.