/[classpath]/classpath/javax/swing/JScrollPane.java
ViewVC logotype

Diff of /classpath/javax/swing/JScrollPane.java

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

revision 1.12.2.1 by gnu_andrew, Fri Jan 14 10:24:17 2005 UTC revision 1.12.2.2 by gnu_andrew, Sat Jan 15 17:02:20 2005 UTC
# Line 497  public class JScrollPane Line 497  public class JScrollPane
497                        || vsb.getMaximum() != vs.height                        || vsb.getMaximum() != vs.height
498                        || vsb.getValue() != vr.y                        || vsb.getValue() != vr.y
499                        || vsb.getVisibleAmount() != vr.height))                        || vsb.getVisibleAmount() != vr.height))
500                  vsb.setValue(vr.y, vr.height, 0, vs.height);                  vsb.setValues(vr.y, vr.height, 0, vs.height);
501    
502                if (hsb != null                if (hsb != null
503                    && (hsb.getMinimum() != 0                    && (hsb.getMinimum() != 0
504                        || hsb.getMaximum() != vs.width                        || hsb.getMaximum() != vs.width
505                        || hsb.getValue() != vr.width                        || hsb.getValue() != vr.width
506                        || hsb.getVisibleAmount() != vr.height))                        || hsb.getVisibleAmount() != vr.height))
507                  hsb.setValue(vr.x, vr.width, 0, vs.width);                  hsb.setValues(vr.x, vr.width, 0, vs.width);
508              }              }
509            else            else
510              {              {

Legend:
Removed from v.1.12.2.1  
changed lines
  Added in v.1.12.2.2

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