Clearing JTable values completly:
DefaultTableModel model = (DefaultTableModel) jTable1.getModel();
for( int i = model.getRowCount() - 1; i >= 0; i-- )
{
model.removeRow(i);
}
Clearing JTable selected value:
DefaultTableModel model = (DefaultTableModel) jTable1.getModel();
int row = jTable1.getSelectedRow();
model.removeRow(row);
jTable1.setModel(model);
jTable1.repaint();