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

jodenni

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 jodenni

  1. Good afternoon people. Please need a help from you, I would get to know how to call the book report in my java application, I tried in several ways to call the page but it goes blank does not generate error only does not output the information help me Follow my code private void jButton10ActionPerformed(java.awt.event.ActionEvent evt) { try{ String sql = "SELECT *FROM produto"; Statement stmt22 = con.createStatement(); ResultSet rs22 = stmt22.executeQuery(sql); JRResultSetDataSource jrRS = new JRResultSetDataSource(rs22); JasperPrint jasperPrint = JasperFillManager.fillReport("C:/Relatorios/OrcamentoDSP.jasper", new HashMap(),jrRS); JasperViewer.viewReport(jasperPrint,false); }catch(Exception ex){ JOptionPane.showMessageDialog(null, "deu erro"+ex); } } [/code]
×
×
  • Create New...