public void delete(T item){
  int idx=items.indexOf(item);
  if (idx >= 0) {
    items.remove(idx);
    fireTableRowsDeleted(idx,idx);
  }
}

public void delete ( T item ) { int idx = items . indexOf ( item ) ; if ( idx >= 0 ) { items . remove ( idx ) ; fireTableRowsDeleted ( idx , idx ) ; } }
remove a specific item .
