changeset 4653:034394d320df

7122256: scrollbar thumb is not full height in SThumbTest0001 Reviewed-by: serb
author alexp
date Wed, 11 Jan 2012 20:34:24 +0400
parents c4b4f0b11530
children ac2948107df1
files src/macosx/classes/sun/lwawt/LWScrollBarPeer.java
diffstat 1 files changed, 1 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/macosx/classes/sun/lwawt/LWScrollBarPeer.java	Wed Jan 11 20:24:29 2012 +0400
+++ b/src/macosx/classes/sun/lwawt/LWScrollBarPeer.java	Wed Jan 11 20:34:24 2012 +0400
@@ -75,10 +75,7 @@
                           final int maximum) {
         synchronized (getDelegateLock()) {
             currentValue = value;
-            getDelegate().setValue(value);
-            getDelegate().setVisibleAmount(visible);
-            getDelegate().setMinimum(minimum);
-            getDelegate().setMaximum(maximum);
+            getDelegate().setValues(value, visible, minimum, maximum);
         }
     }