I have a jslider values 100-2000 when i click on the component the thumb moves by 190. I want to change this behaviour. Is there any way by which i can force the value by which the thumb/knob will move on clicking on the component?
posted 10 years ago
Depending on how you are using the value obtained from the slider you can usually get the behavior you want by clever choice of the limits (which can be very different than the processed value you send out from your ChangeListener). When you find the right combination, if the labels don't say what you want, you can make up your own labels in a Hashtable and install them with setLabelTable.