I can add first page but i have second page also ....how to add on second page of jasper report

0

i used netbens i connect jasper report i have  two design pages how to marge two pages in jasper report   I can add first page but i have second page also ....how to add on second page of jasper report


This is first design 

SimpleDateFormat date1 = new SimpleDateFormat("MMM d, yyyy");
        String fdate = date1.format(jDateChooser1.getDate());
              
        
        
            HashMap a = new HashMap();
            a.put("inemp", jTextField1.getText());
            a.put("idate",fdate);
             a.put("thy", jTextField2.getText());
              a.put("levno", jTextField3.getText()); 
           try {
              jPanel1.removeAll();
            jPanel1.repaint();
            jPanel1.revalidate();
            
            JasperDesign jdesign = JRXmlLoader.load("C:\\Users\\Futuremind\\Documents\\NetBeansProjects\\EmployeeManagementSystem\\src\\EmployeeManagement\\report5.jrxml");
            

            JasperReport jreport = JasperCompileManager.compileReport(jdesign);
           
            JasperPrint  jprint  = JasperFillManager.fillReport(jreport, a,conn);
          
            JRViewer v = new JRViewer(jprint);
          
           
            jPanel1.setLayout(new BorderLayout());
            jPanel1.add(v);


this is second page design 

JasperDesign jdesign1 = JRXmlLoader.load("C:\\Users\\Futuremind\\Documents\\NetBeansProjects\\EmployeeManagementSystem\\src\\EmployeeManagement\\report6.jrxml");


how to marge in one sheet
 

cv5079's picture
3
Joined: Jan 9 2021 - 3:38am
Last seen: 3 months 3 weeks ago

0 Answers:

No answers yet
Feedback