public void deleteRow(final int rowIndex){
  model.remove(rowIndex);
  fireTableRowsDeleted(rowIndex,rowIndex);
}

public void deleteRow ( final int rowIndex ) { model . remove ( rowIndex ) ; fireTableRowsDeleted ( rowIndex , rowIndex ) ; }
removes the corresponding row from the table model and triggers a gui update .
