/[classpath]/classpath/javax/swing/plaf/basic/BasicSliderUI.java
ViewVC logotype

Diff of /classpath/javax/swing/plaf/basic/BasicSliderUI.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.11 by mkoch, Fri Dec 24 09:53:03 2004 UTC revision 1.12 by mkoch, Wed Jan 26 23:32:51 2005 UTC
# Line 1  Line 1 
1  /* BasicSliderUI.java --  /* BasicSliderUI.java --
2     Copyright (C) 2004 Free Software Foundation, Inc.     Copyright (C) 2004, 2005  Free Software Foundation, Inc.
3    
4  This file is part of GNU Classpath.  This file is part of GNU Classpath.
5    
# Line 222  public class BasicSliderUI extends Slide Line 222  public class BasicSliderUI extends Slide
222      public void propertyChange(PropertyChangeEvent e)      public void propertyChange(PropertyChangeEvent e)
223      {      {
224        // Check for orientation changes.        // Check for orientation changes.
225        if (e.getPropertyName().equals(JSlider.ORIENTATION_CHANGED_PROPERTY))        if (e.getPropertyName().equals("orientation"))
226          recalculateIfOrientationChanged();          recalculateIfOrientationChanged();
227        else if (e.getPropertyName().equals(JSlider.MODEL_CHANGED_PROPERTY))        else if (e.getPropertyName().equals("model"))
228          {          {
229            BoundedRangeModel oldModel = (BoundedRangeModel) e.getOldValue();            BoundedRangeModel oldModel = (BoundedRangeModel) e.getOldValue();
230            oldModel.removeChangeListener(changeListener);            oldModel.removeChangeListener(changeListener);

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26