public void removeOkListener(ActionListener a){
  m_okBut.removeActionListener(a);
}

public void removeOkListener ( ActionListener a ) { m_okBut . removeActionListener ( a ) ; }
this is used to remove an action listener from the ok button .
