public static int showYesNoQuestion(final Component parent, final String msg) {
    return showYesNoQuestionWithCheckbox(parent, msg, null).first();
  }
Shows a question the user can answer with Yes/No.

@param parent Parent window of the message box.
@param msg Message shown in the message box.
@return An integer indicating the option selected by the user.
java/zylib/src/main/java/com/google/security/zynamics/zylib/gui/CMessageBox.java