hi', I am unable to set conditional expression in jasper report, I am able to get the jasper report style and able to set the font but after, I am stuck at creating the conditional style sheet using API,I am able to create new condition statement but uable to set it back to parent stylesheetThe set method is missing. //Creating new conditional statmentsJRConditionalStyle[] JRCS2=new JRConditionalStyle[4]; JRCS1[0].setStyledText(new Boolean(eventType.toString().equalsIgnoreCase("COH")));JRCS1[0].setBackcolor(clr2); //???????? How to set JRCS2 in JRSTYLE[0] where JRCS2 is the new conditional statments//JRSTYLE[0].setConditionalStyles(JRCS2); Code: try { JasperDesign jasperDesign = JRXmlLoader.load(JRXMLFile); System.out.println(".jrxml loded"); JasperReport jasperReport = JasperCompileManager.compileReport(jasperDesign); System.out.println(".jrxml compiled"); Color clr11=new Color(255100250);//"255100250" this colour code will come from DB Color clr2=new Color(255250250);//255250250 Color clr3=new Color(250100250);//250100250 Color clr4=new Color(100100250);//100100250 /*get stylesheets from jrxml*/ JRStyle[] JRSTYLE=jasperReport.getStyles(); //Able to get the conditional statments JRConditionalStyle[] JRCS1=JRSTYLE[0].getConditionalStyles(); JRCS1[0].setBackcolor(clr11); JRCS1[1].setBackcolor(clr2); JRCS1[2].setBackcolor(clr3); JRCS1[3].setBackcolor(clr4); //Creating new conditional statments //JRConditionalStyle[] JRCS2=new JRConditionalStyle[4]; //JRCS1[0].setStyledText(new Boolean(eventType.toString().equalsIgnoreCase("aa"))); //JRCS1[0].setBackcolor(clr2); //JRSTYLE[1].setStyledText(new Boolean(eventType.toString().equalsIgnoreCase("bb"))); //JRSTYLE[1].setBackcolor(clr3); /* JRSTYLE[2].setStyledText(new Boolean(eventType.toString().equalsIgnoreCase("ww"))); JRSTYLE[2].setBackcolor(clr1); JRSTYLE[3].setStyledText(new Boolean(eventType.toString().equalsIgnoreCase("rr"))); JRSTYLE[3].setBackcolor(clr1); */ //???????? How to set JRCS2 in JRSTYLE[0] where JRCS2 is the new conditional statments //JRSTYLE[0].setConditionalStyles(JRCS2);