Jasper Report - Display last compiled result in java application at run time

I have java swing application and using jasper report. After build and run application, jasper report is created dynamically, but even after compiling jasper report it display last compiled result.

Here is my code.

String a="src/PlantBreedingSystem/CropPedigree/Xml Template Print/printSearchGpNoOfMultipleCharacter_subreport.jrxml"; InputStream jasperFile1=this.getClass().getClassLoader().getResourceAsStream(a); JasperDesign jasperDesign = JRXmlLoader.load(jasperFile1); JRDesignBand detailBand = new JRDesignBand(); detailBand.setHeight(25); JRDesignExpression expression = new JRDesignExpression(); JRDesignField field = new JRDesignField(); for(int v=0;v

shubhangi.10p's picture
Joined: Oct 18 2014 - 12:37am
Last seen: 7 years 5 months ago

0 Answers:

No answers yet