JTextComponent editor = (JTextComponent)comboBox.getEditor().getEditorComponent();
editor.setSelectionStart(size);
editor.setSelectionEnd(getLength());</BUG>
}
}
<BUG>setSelectedItem(item);
}</BUG>
private void setSelectedItem(Object item) {
selecting = true;
comboBox.setSelectedItem(item);

JTextComponent editor = (JTextComponent)comboBox.getEditor().getEditorComponent();
editor.setSelectionStart(start);
editor.setSelectionEnd(end);
}
private void setSelectedItem(Object item) {
selecting = true;
comboBox.setSelectedItem(item);
