In a JSlider there is a method getValueIsAdjusting() which checks to see if the slider knob is still being dragged. I can use this method to update things after the slider is no longer being dragged. Is there some way to get this behavior in a JSpinner. That is I only want to update after the value is not being incremented or decremented any more on the JSpinner. I couldn't find anything in the API that suggests there is an easy workaround, and I don't have the option of getting rid of the JSpinner. Thanks for any help.
Thanks for your reply. I did something similar, and then I needed to simulate the holding down of the button so I used a timer to find out how long the button was held down for and incremented/decremented the spinner accordingly.
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop