Hello, Is it possible to know how pages will be? I need to popup custom dialog to user if no pages in report. I am showing report like that: Map<String,Date> params = new HashMap<String,Date>(); params.put("dateFrom",this.dateFrom.getDate()); params.put("dateUntil",this.dateUntil.getOneDayFuture()); jasperPrint = JasperFillManager.fillReport(reportName,params,DBConnection.getConnection()); When no pages i got to message boxes "The document have no pages" Why it message box appears twice? Is it some way to change message, i want to use other language. I now i can change in source but maybe there are some method? Thanks a lot Post edited by: prancius, at: 2006/09/03 20:17