if (!jDialog.bCancel) {
if (jDialog.bOk) {
    void jButtonWizard_actionPerformed(java.awt.event.ActionEvent event) {        JDialogDateSelector jDialog =                new JDialogDateSelector(Util.getTopJFrame(this));        jDialog.setVisible(true);        if (!jDialog.bCancel) {            Calendar cal = Calendar.getInstance();            cal.setTime(jDialog.currentDate);            jTextFieldYear.setText(cal.get(Calendar.YEAR) + "");            jTextFieldMonth.setText(Util.completeDigit(cal.get(Calendar.MONTH) + 1 + "", 2));            jTextFieldDay.setText(Util.completeDigit(cal.get(Calendar.DATE) + "", 2));        }        jDialog.dispose();    }