public void addCancelListener(ActionListener a){
  m_cancelBut.addActionListener(a);
}

public void addCancelListener ( ActionListener a ) { m_cancelBut . addActionListener ( a ) ; }
this is used to hook an action listener to the cancel button .
