private void jBContasPagarActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBContasPagarActionPerformed
        Relatorios.this.dispose();
        try {
            Connection con = new Conexao().getConnection();
            HashMap parametros = new HashMap();


            JasperPrint jp = JasperFillManager.fillReport("./relatorios/ContasPagar.jasper", parametros, con);
            if (jRBSalvar.isSelected()) {
                JasperExportManager.exportReportToPdfFile(jp, "C:/ Contas à Pagar.pdf");
            }
            JasperViewer jrv = new JasperViewer(jp, false);
            jrv.setVisible(true);
            con.close();
        } catch (Exception e) {
            e.printStackTrace();
        }
    }