public ConfirmDialog(Frame p, String title, String question, boolean includeCheckbox) { super(p, title, true); super.setResizable(false); useCheckbox = includeCheckbox;  setLayout(gridbag); addQuestion(question); addInputs(); finishSetup(p);
public ConfirmDialog(Frame p, String title, String question) { this(p, title, question, false);
    public ConfirmDialog(Frame p, String title, String question, boolean includeCheckbox) {        super(p, title, true);        super.setResizable(false);        useCheckbox = includeCheckbox;        setLayout(gridbag);        addQuestion(question);        addInputs();        finishSetup(p);    }