hi, i want editable combobox as a Table cell editor in my program .For this my program contains code like
// JComboBox combo = new JComboBox();
combo.setEditable(true);
combo.setModel(My model());
TableColumn column = table.getColumnModel().getColumn(index);
column.setCellEditor(new DefaultCellEditor(combo));
//
combox contains some string elements.My requirement is when i typed in combobox editor it should display the elements that starts with typed character .
(like when i typed "s" it display all strings stats with "s" and when typed "sa"
it display strings that display strings starts with "sa" etc..).I don't hava any problem with searching mechanism ,my problem is when i typed in combobox
editor in a tablecell it loosing its focus.I dont know how to solve this problem.
please help me.