classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cp-patches] FYI: small JSlider fix


From: David Gilbert
Subject: [cp-patches] FYI: small JSlider fix
Date: Mon, 18 Jul 2005 23:08:09 +0000
User-agent: Mozilla Thunderbird 1.0.2 (X11/20050426)

I committed this small patch:

2005-07-18  David Gilbert  <address@hidden>

        * 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;

reply via email to

[Prev in Thread] Current Thread [Next in Thread]