I committed this small patch:

2005-07-18  David Gilbert  <[EMAIL PROTECTED]>

        * javax/swing/JSlider.java: initialise snapToTicks to false.

Regards,

Dave Gilbert

Index: javax/swing/JSlider.java
===================================================================
RCS file: /cvsroot/classpath/classpath/javax/swing/JSlider.java,v
retrieving revision 1.13
diff -u -r1.13 JSlider.java
--- javax/swing/JSlider.java    2 Jul 2005 20:32:49 -0000       1.13
+++ javax/swing/JSlider.java    18 Jul 2005 22:03:13 -0000
@@ -229,7 +229,7 @@
   protected int minorTickSpacing;
 
   /** Whether the slider snaps its values to ticks. */
-  protected boolean snapToTicks = true;
+  protected boolean snapToTicks = false;
 
   /** The orientation of the slider. */
   protected int orientation = HORIZONTAL;
_______________________________________________
Classpath-patches mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/classpath-patches

Reply via email to