public void removeThread(final TargetProcessThread thread){
synchronized (m_threads) {
    thread.removeListener(m_threadListener);
    m_threads.remove(thread);
  }
  fireTableDataChanged();
}

public void removeThread ( final TargetProcessThread thread ) { synchronized ( m_threads ) { thread . removeListener ( m_threadListener ) ; m_threads . remove ( thread ) ; } fireTableDataChanged ( ) ; }
removes a thread from the table .
