6688110: JSlider has incorrect javadoc for the setValueIsAdjusting method

The sentence about ChangeEvents generation was removed

Reviewed-by: peterz
This commit is contained in:
Pavel Porvatov 2008-06-05 13:30:41 +04:00
parent 86031542b2
commit 9a2ae13639

View File

@ -638,9 +638,7 @@ public class JSlider extends JComponent implements SwingConstants, Accessible {
/**
* Sets the model's {@code valueIsAdjusting} property. Slider look and
* feel implementations should set this property to {@code true} when
* a knob drag begins, and to {@code false} when the drag ends. The
* slider model will not generate {@code ChangeEvent}s while
* {@code valueIsAdjusting} is {@code true}.
* a knob drag begins, and to {@code false} when the drag ends.
*
* @param b the new value for the {@code valueIsAdjusting} property
* @see #getValueIsAdjusting