private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton1ActionPerformed
        Relatorios.this.dispose();
        if (jDateInicialRA2.getDate() != null && jDateFinalRA2.getDate() != null) {
            try {
                Connection con = new Conexao().getConnection();
                HashMap parametros = new HashMap();
                String formatador = new SimpleDateFormat("dd/MM/yyyy").format(jDateInicialRA2.getDate());
                String formatadorF = new SimpleDateFormat("dd/MM/yyyy").format(jDateFinalRA2.getDate());
                parametros.put("VALOR", formatador);
                parametros.put("VALOR_FINAL", formatadorF);


                JasperPrint jp = JasperFillManager.fillReport("./relatorios/VendasGraf.jasper", parametros, con);
                if (jRBSalvar.isSelected()) {
                    JasperExportManager.exportReportToPdfFile(jp, "C:/Caixa - DATA INÍCIO - FIM - Graf - Seeds.pdf");
                }
                JasperViewer jrv = new JasperViewer(jp, false);
                jrv.setVisible(true);
                con.close();
            } catch (Exception e) {
                e.printStackTrace();
            }
        }
    }