equal
deleted
inserted
replaced
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)); |