Редактируемый Java Jcombobox

JComboBox patternList = new JComboBox(patternExamples);
patternList.setEditable(true);
patternList.addActionListener(this);
Helpless Hawk