public void removeCancelListener(ActionListener a){
  m_cancelBut.removeActionListener(a);
}

public void removeCancelListener ( ActionListener a ) { m_cancelBut . removeActionListener ( a ) ; }
this is used to remove an action listener from the cancel button .
