code: private boolean confirmMaximisation() {
          if (!viewOptions.getWarnOnTabDoubleClick()) {
              return true;
          }
  
          if (View.getSingleton().showConfirmDialog(DOUBLE_CLICK_WARN_MESSAGE) != JOptionPane.OK_OPTION) {
              return false;
          }
  
          viewOptions.setWarnOnTabDoubleClick(false);
          try {
              viewOptions.getConfig().save();
          } catch (ConfigurationException e) {
              LOGGER.error(e.getMessage(), e);
          }
          return true;
      }
docs: Confirms, by asking the user, if the maximisation should be done.
  <p>
  After positive confirmation this method returns always {@code true}.
  
  @return {@code true} if the maximisation should be done, {@code false} otherwise.
  @see #triggerMaximisation(Component)
  @see OptionsParamView#getWarnOnTabDoubleClick()