jdk/src/macosx/classes/sun/lwawt/LWScrollPanePeer.java
changeset 13143 31c70a66a053
parent 12047 320a714614e9
child 15327 37781d0e61b4
equal deleted inserted replaced
13009:f409e6ef0185 13143:31c70a66a053
    68             }
    68             }
    69         });
    69         });
    70     }
    70     }
    71 
    71 
    72     @Override
    72     @Override
    73     public void initialize() {
    73     void initializeImpl() {
    74         super.initialize();
    74         super.initializeImpl();
    75         final int policy = getTarget().getScrollbarDisplayPolicy();
    75         final int policy = getTarget().getScrollbarDisplayPolicy();
    76         synchronized (getDelegateLock()) {
    76         synchronized (getDelegateLock()) {
    77             getDelegate().getViewport().setScrollMode(JViewport.SIMPLE_SCROLL_MODE);
    77             getDelegate().getViewport().setScrollMode(JViewport.SIMPLE_SCROLL_MODE);
    78             getDelegate().setVerticalScrollBarPolicy(convertVPolicy(policy));
    78             getDelegate().setVerticalScrollBarPolicy(convertVPolicy(policy));
    79             getDelegate().setHorizontalScrollBarPolicy(convertHPolicy(policy));
    79             getDelegate().setHorizontalScrollBarPolicy(convertHPolicy(policy));