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]