void cancelPressed(ActionEvent e){
  Logix logix=checkNamesOK();
  if (logix != null) {
    logix.activateLogix();
  }
  clearPage();
}

void cancelPressed ( ActionEvent e ) { Logix logix = checkNamesOK ( ) ; if ( logix != null ) { logix . activateLogix ( ) ; } clearPage ( ) ; }
responds to the cancel button
