@Override
  public void approveSelection() {
    if (askFileOverwrite && getSelectedFile().exists()) {
      if (CMessageBox.showYesNoQuestion(this, Constants.ASK_FILE_OVERWRITE)
          == JOptionPane.NO_OPTION) {
        return;
      }
    }
    super.approveSelection();
  }
Whether to ask for an existing file to be overwritten. Only makes sense in dialogs of type
<code>JFileChooser.SAVE_DIALOG</code> or <code>JFileChooser.CUSTOM_DIALOG</code>.

@see JFileChooser#setDialogType(int)
java/zylib/src/main/java/com/google/security/zynamics/zylib/gui/CFileChooser.java