< prev index next >
src/java.desktop/share/classes/com/sun/java/swing/plaf/windows/WindowsComboBoxUI.java
Print this page
*** 372,384 ****
}
/**
* Creates the default editor that will be used in editable combo boxes.
* A default editor will be used only if an editor has not been
! * explicitly set with <code>setEditor</code>.
*
! * @return a <code>ComboBoxEditor</code> used for the combo box
* @see javax.swing.JComboBox#setEditor
*/
protected ComboBoxEditor createEditor() {
return new WindowsComboBoxEditor();
}
--- 372,384 ----
}
/**
* Creates the default editor that will be used in editable combo boxes.
* A default editor will be used only if an editor has not been
! * explicitly set with {@code setEditor}.
*
! * @return a {@code ComboBoxEditor} used for the combo box
* @see javax.swing.JComboBox#setEditor
*/
protected ComboBoxEditor createEditor() {
return new WindowsComboBoxEditor();
}
< prev index next >