Generate report in Jaspersoft Studio 6 and Netbeans IDE 8

Before I report generated using ireport. Now use the Jaspersoft Studio 6 and can not generate reports in the same way as before. How do now? I would parameterized reports, filters. What libraries that add in the project too? I need a complete example. I have studied all the documentation and do not think the full sample using the new report generator.


 try {          //            Connection con = new ConexaoMySQL().getConnection();            DB banco = new DB();            banco.connect();////            HashMap parametros = new HashMap();            JasperPrint jp = JasperFillManager.fillReport("D:/ProjetosNetbeans/ControleProjetosMDF/relatorios/relatorio_pastas_topo.jasper", parametros, banco.conn);            JasperViewer jrv = new JasperViewer(jp, false);//            //Maximiza o relatório            jrv.setExtendedState(MAXIMIZED_BOTH);            jrv.setVisible(true);            jrv.setFitPageZoomRatio();            banco.disconnect();//        } catch (Exception e) {            JOptionPane.showMessageDialog(null, e.getMessage());            JOptionPane.showMessageDialog(null, e.getCause());                 }

marcosarantesj's picture
Joined: Dec 2 2010 - 3:51pm
Last seen: 8 years 1 month ago

1 Answer:


Did you find the solution?

I have the same problem.

Kind regards,



destinohawk's picture
Joined: Mar 28 2015 - 9:39am
Last seen: 7 years 11 months ago