private boolean validatePaths() {
    try {
      final File primaryFile = getPrimaryImageFile();
      if (primaryFile.createNewFile()) {
        // TODO: This can fail
        primaryFile.delete();
      }

      final File secondaryFile = getSecondaryImageFile();
      if (secondaryFile.createNewFile()) {
        // TODO: This can fail
        secondaryFile.delete();
      }

      final File combinedFile = getCombinedImageFile();
      if (combinedFile.createNewFile()) {
        // TODO: This can fail
        combinedFile.delete();
      }
    } catch (final Exception e) {
      return false;
    }

    return true;
  }
Dialog to export the current view into a variety of formats.
java/ui/src/main/java/com/google/security/zynamics/bindiff/gui/dialogs/ExportViewDialog.java