Jump to content
We've recently updated our Privacy Statement, available here ×

marcosarantesj

Members
  • Posts

    1
  • Joined

  • Last visited

 Content Type 

Profiles

Forum

Events

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Downloads

Everything posted by marcosarantesj

  1. 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()); }[/code]
×
×
  • Create New...