Does anyone know of a way to load non-continuous data into a JSlider?

For example, if my data set is 1, 3, 6, and 10, if I create a slider
with a range of 1-10, it will also click through values 2, 4, 5, etc
that I don't want...

The problem that I have is that my intervals (as my data) will be
random and change dynamically.

Is there any way to tell the JSlider specifically which values
represent the tick marks?

Thanks.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Java 
EE (J2EE) Programming with Passion!" group.
To post to this group, send email to 
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to 
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to