src/macosx/classes/sun/lwawt/LWScrollBarPeer.java

Print this page

        

*** 25,35 **** 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; import java.awt.peer.ScrollbarPeer; --- 25,34 ----
*** 91,107 **** synchronized (getDelegateLock()) { getDelegate().setBlockIncrement(l); } } - @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) { final int value = e.getValue(); synchronized (getDelegateLock()) { --- 90,99 ----