With refrence To The Question! By abg and answer By mKorBel.
And Using J2s Auto Complete Combo Box!
The Code in the Answer By mKorBel For My Case has another problem in the following code when i edit the third row it works fine, but when i click 1st row for edit it sets the value of first row to the selected 3 rd row.
comboBox.addActionListener(new ActionListener()
{
public void actionPerformed(ActionEvent e)
{
JComboBox comboBox = (JComboBox) e.getSource();
String itemStr= comboBox.getSelectedItem().toString();
int selectedRowLocal= tblDetailInfoParts.getSelectedRow();
if (selectedRowLocal != -1)
{
if ((itemStr != null) && (itemStr.compareTo("") != 0) )
{
tblDetailInfoParts.setValueAt(itemStr, selectedRowLocal, 15);
}
}
}
});