Forgot to remove calculateThumbLocation call.
2005-09-28 Lillian Angel <[EMAIL PROTECTED]>
* javax/swing/plaf/basic/BasicSliderUI.java
(paint): No need to call calculateThumbLocation, called
by calculateGeometry.
On Wed, 2005-09-28 at 14:18 -0400, Lillian Angel wrote:
> Fixes painting problem with JSlider
>
> 2005-09-28 Lillian Angel <[EMAIL PROTECTED]>
>
> Fixes Bug #23934
> * javax/swing/plaf/basic/BasicSliderUI.java
> (paint): Called calculateGeometry, so the slider is
> initially set up.
>
Index: javax/swing/plaf/basic/BasicSliderUI.java
===================================================================
RCS file: /cvsroot/classpath/classpath/javax/swing/plaf/basic/BasicSliderUI.java,v
retrieving revision 1.19
diff -u -r1.19 BasicSliderUI.java
--- javax/swing/plaf/basic/BasicSliderUI.java 28 Sep 2005 18:19:19 -0000 1.19
+++ javax/swing/plaf/basic/BasicSliderUI.java 28 Sep 2005 18:20:17 -0000
@@ -1482,7 +1482,6 @@
// FIXME: Move this to propertyChangeEvent handler, when we get those.
leftToRightCache = slider.getComponentOrientation() != ComponentOrientation.RIGHT_TO_LEFT;
// FIXME: This next line is only here because the above line is here.
- calculateThumbLocation();
calculateGeometry();
if (slider.getPaintTrack())
_______________________________________________
Classpath-patches mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/classpath-patches