I think can try this alsoJComboBox combo = new JComboBox();combo.setEditable(true);JTextField textField2 = (JTextField)combo.getEditor().getEditorComponent();textField2.addKeyListener(new KeyActionHandler());