/**
   * Overwritten ActionEvent event handler.
   *
   * @param e the ActionEvent
   * @see jcontrol.ui.vole.Component.onActionEvent(ActionEvent e)
   */
  public void onActionEvent(ActionEvent e) {
    if (e.getType() == ActionEvent.BUTTON_PRESSED) {
      // check which button was pressed
      if (e.getSource() == changeButton) {
        modifyMenu(); // open the time modify page
      } else if (e.getSource() == okButton) {
        // confirm time settings changes
        try {
          my8563.setTime(
              new Time(
                  yearChange.getValue(),
                  monthChange.getValue(),
                  dayChange.getValue(),
                  0,
                  hourChange.getValue(),
                  minuteChange.getValue(),
                  secondChange.getValue()));
        } catch (IOException ex) {
        }

        // update time/date of JCU
        try {
          my8563.getTime(ttrans);
        } catch (IOException ex) {
        }
        RTC.setTime(ttrans);

        // go back to main menu
        mainMenu();

      } else if (e.getSource() == cancelButton) {

        // go back to main menu without changes
        mainMenu();
      }
    }
  }