Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

UI Design help / Slider with multiple thumbs?

843804Apr 30 2005 — edited Dec 3 2007
I've got an application which is trying to set multiple bounds
around a single value. For instance, if my value was "temperature",
possible bounds might be cold, temperate, hot.
I want my user to be able to assign all of those ranges.

My first thought was to use a slider with multiple thumbs. I could
have 0 and 100 as min and max, say, with 2 sliders. Everything
to the left of the first slider is "cold", everything between the two
sliders is "temperate", and everything to the right of the second
slider is "hot.

Of course, JSlider does not have support for multiple thumbs.
So, I was hoping someone could either suggest a freeware/LGPL
widget that did *or* could propose a clever redesign to obviate
the need for one.

In reality, my problem is more complex -- multiple values with
varying start values, end values, and number of thresholds. I'm
using multiple sliders right now, and it's functional, but really fugly.

Thanks for any help you might be able to provide!

Eric
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 31 2007
Added on Apr 30 2005
3 comments
344 views