public void actionPerformed(ActionEvent ev){
  executeImmediately("close what=current;");
}

public void actionPerformed ( ActionEvent ev ) { executeImmediately ( "close what=current;" ) ; }
action to be performed
