private void closeDialog(){
  m_table.removeMouseListener(m_listener);
  dispose();
}

private void closeDialog ( ) { m_table . removeMouseListener ( m_listener ) ; dispose ( ) ; }
cleans up the dialog and hides it .
