i don't know how i join my javafx project with jasper report ?

0
public void MakeFenReport(){
    try {
 
        String report = "C:\\Users\\dell\\Documents\\NetBeansProjects\\LoginApp\\src\\loginapp\\Cherry_1.jrxml";
        JasperReport jr = JasperCompileManager.compileReport(report);
        JasperPrint jp = JasperFillManager.fillReport(jr, null , con);
        JRViewer viewer = new JRViewer(jp);
        viewer.setOpaque(true);
        viewer.setVisible(true);
 
        this.add(viewer);
        this.setSize(900,500);
        this.setVisible(true);
 
    } catch (JRException ex) {}
}

hazim9494's picture
Joined: Sep 10 2019 - 10:47pm
Last seen: 1 month 3 weeks ago

0 Answers:

No answers yet
Feedback