private void jBFornecedoresActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBFornecedoresActionPerformed
        Relatorios.this.dispose();
        if (!jFTCPF.getText().equals("   .   .   -  ")) {
            try {
                Connection con = new Conexao().getConnection();
                HashMap parametros = new HashMap();
                //String formatador = new SimpleDateFormat("dd/MM/yyyy").format(jDateChooser1.getDate());
                parametros.put("VALOR", jFTCPF.getText());


                JasperPrint jp = JasperFillManager.fillReport("./relatorios/Fornecedores.jasper", parametros, con);
                if (jRBSalvar.isSelected()) {
                    JasperExportManager.exportReportToPdfFile(jp, "C:/Todos os Fornecedores - Seeds.pdf");
                }
                JasperViewer jrv = new JasperViewer(jp, false);
                jrv.setVisible(true);
                con.close();
            } catch (Exception e) {
                e.printStackTrace();
            }
        } else {
            try {
                Connection con = new Conexao().getConnection();
                HashMap parametros = new HashMap();


                JasperPrint jp = JasperFillManager.fillReport("./relatorios/Fornecedores2.jasper", parametros, con);
                if (jRBSalvar.isSelected()) {
                    JasperExportManager.exportReportToPdfFile(jp, "C:/Todos os Fornecedores - Busca CPF- Seeds.pdf");
                }
                JasperViewer jrv = new JasperViewer(jp, false);
                jrv.setVisible(true);
                con.close();
            } catch (Exception e) {
                e.printStackTrace();
            }
        }
    }