super(toolkit, choice, new JComboBox()); this.choice = choice; final JComboBox combo = (JComboBox)jComponent; combo.setModel(new DefaultComboBoxModel());
super(toolkit, choice, new SwingChoice(choice)); final JComboBox combo = (JComboBox) jComponent; combo.setModel(new DefaultComboBoxModel());
	public SwingChoicePeer(SwingToolkit toolkit, Choice choice) {        super(toolkit, choice, new JComboBox());		this.choice = choice;        final JComboBox combo = (JComboBox)jComponent;        combo.setModel(new DefaultComboBoxModel());		SwingToolkit.add(choice, combo);		SwingToolkit.copyAwtProperties(choice, combo);		final int cnt = choice.getItemCount();		for (int i = 0; i < cnt; i++) {			addItem(choice.getItem(i), i);		}	}