Hi. Is there any easy way to make a JSlider fire its change listener when the slider is released by the user, rather than being fired each time the value changes during the dragging. I have a JSlider, that when changed, performs some visual tweaking of an image based on the position of the slider. This can sometimes be an intense process, so if the user is dragging the slider bar a long way, I don't want it fired at each step.
My thought was to add a mouse listener that detects when the mouse is pressed and when it is released. Anytime in between it tells the change listener to do nothing. Any other thoughts?