// <editor-fold defaultstate="collapsed" desc=" main ">
  public static void main(String args[]) {

    try {
      javax.swing.UIManager.setLookAndFeel(javax.swing.UIManager.getSystemLookAndFeelClassName());
    } catch (Exception e) {
      throw new RuntimeException(e);
    }

    Dlg_confirm dialog = Dlg_confirm.create(new javax.swing.JFrame(), true);
    dialog.setVisible(true);
  }
 public void nullify() {
   myRef.setVisible(false);
   myRef = null;
 }