private void onClose() {
    // store the application's size
    AppEvent ape = new AppEvent(AppEvent.EventType.STATUS_EVENT);
    ape.setMessage(MessageConstants.Message.S_SAVE_DIALOG_SIZE);
    controller.handleAppEvent(ape);

    // close the dialog
    setVisible(false);
  } // END private void onClose()
 private void onChange() {
   if (!isUpdating) {
     // set logging to file enabled based on logging enabled
     loggingToFileCB.setEnabled(loggingEnabledCB.isSelected());
     // check for real changes
     AppEvent ape = new AppEvent(AppEvent.EventType.DATA_EVENT);
     ape.setMessage(MessageConstants.Message.D_PREFERENCES_EDIT_APPLY);
     controller.handleAppEvent(ape);
   }
 } // END private void onChange()
 private void onRevert() {
   AppEvent ape = new AppEvent(AppEvent.EventType.DATA_EVENT);
   ape.setMessage(MessageConstants.Message.D_PREFERENCES_EDIT_REVERT);
   controller.handleAppEvent(ape);
 } // END private void onRevert()