jdk/src/macosx/classes/sun/lwawt/LWChoicePeer.java
changeset 13143 31c70a66a053
parent 12047 320a714614e9
child 20146 019d103c3e40
equal deleted inserted replaced
13009:f409e6ef0185 13143:31c70a66a053
    53     protected JComboBox<String> createDelegate() {
    53     protected JComboBox<String> createDelegate() {
    54         return new JComboBoxDelegate();
    54         return new JComboBoxDelegate();
    55     }
    55     }
    56 
    56 
    57     @Override
    57     @Override
    58     public void initialize() {
    58     void initializeImpl() {
    59         super.initialize();
    59         super.initializeImpl();
    60         final Choice choice = getTarget();
    60         final Choice choice = getTarget();
    61         final JComboBox<String> combo = getDelegate();
    61         final JComboBox<String> combo = getDelegate();
    62         synchronized (getDelegateLock()) {
    62         synchronized (getDelegateLock()) {
    63             final int count = choice.getItemCount();
    63             final int count = choice.getItemCount();
    64             for (int i = 0; i < count; ++i) {
    64             for (int i = 0; i < count; ++i) {