public void addOkListener(ActionListener a){
  m_okBut.addActionListener(a);
}

public void addOkListener ( ActionListener a ) { m_okBut . addActionListener ( a ) ; }
this is used to hook an action listener to the ok button .
