changeset 3305:c8b383fd8adf

6973773: JCK manual case JSliderTests.html#JSlider fails in jdk7 b100 Reviewed-by: alexp
author rupashka
date Thu, 23 Dec 2010 17:39:18 +0300
parents 403a88eeac15
children 69b2e5838eee
files src/share/classes/javax/swing/JSlider.java
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/javax/swing/JSlider.java	Wed Dec 22 16:57:08 2010 -0800
+++ b/src/share/classes/javax/swing/JSlider.java	Thu Dec 23 17:39:18 2010 +0300
@@ -40,7 +40,8 @@
 
 /**
  * A component that lets the user graphically select a value by sliding
- * a knob within a bounded interval.
+ * a knob within a bounded interval. The knob is always positioned
+ * at the points that match integer values within the specified interval.
  * <p>
  * The slider can show both
  * major tick marks, and minor tick marks between the major ones.  The number of