private static void initializeConfigFile() {
    if (Config.getInstance().getVersion() < Constants.CONFIG_FILEVERSION) {
      int answer =
          CMessageBox.showYesNoWarning(
              null,
              "Your configuration file is obsolete. Do you want to overwrite it with a new "
                  + "default configuration file?");
      if (answer == JOptionPane.YES_OPTION) {
        try {
          Files.delete(FileSystems.getDefault().getPath(Config.getUserConfigFilename()));
        } catch (IOException | SecurityException e) {
          // Logger isn't initialized yet, so no logging here
          CMessageBox.showError(
              null,
              "Couldn't delete old configuration file. "
                  + "BinDiff won't be able to save its configuration.");
        }
      }
    }
  }
Launcher class for BinDiff. Note: The name of this class is used directly as the application name
on macOS.
java/ui/src/main/java/com/google/security/zynamics/bindiff/BinDiff.java