--- a/jdk/src/macosx/classes/sun/lwawt/LWScrollBarPeer.java Mon Sep 24 18:24:30 2012 +0400
+++ b/jdk/src/macosx/classes/sun/lwawt/LWScrollBarPeer.java Mon Sep 24 21:33:41 2012 +0400
@@ -27,7 +27,6 @@
package sun.lwawt;
import java.awt.Adjustable;
-import java.awt.Dimension;
import java.awt.Scrollbar;
import java.awt.event.AdjustmentEvent;
import java.awt.event.AdjustmentListener;
@@ -93,13 +92,6 @@
}
}
- @Override
- public Dimension getPreferredSize() {
- synchronized (getDelegateLock()) {
- return getDelegate().getPreferredSize();
- }
- }
-
// Peer also registered as a listener for ComponentDelegate component
@Override
public void adjustmentValueChanged(final AdjustmentEvent e) {