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

jodenni

Members
  • Posts

    1
  • Joined

  • Last visited

jodenni's Achievements

Newbie

Newbie (1/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  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...