Jump to content
We've recently updated our Privacy Statement, available here ×

dangera

Members
  • Posts

    4
  • Joined

  • Last visited

dangera's Achievements

Rookie

Rookie (2/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. dangera

    JRViewer

    I am opening a report on JRCustomViewer (or JRViewer). The viewer leaves a little grey space on top and left side of the report, and better yet I am able to drag and move the report with mouse on it! If I increase the report width the grey space on the left becomes even larger. Is there any way to fix this? The grey space looks bad and the user shouldn't be able to move the report with mouse in any way. Please help me!
  2. This is the error 16.11.2009 10:40:55 model.ReportHandler compileReports SEVERE: null net.sf.jasperreports.engine.JRException: Errors were encountered when compiling report expressions class file: 1. Cannot cast from boolean to Boolean value = (java.lang.Boolean)(((java.lang.String)field_analyte.getValue()).equals("S.pneumonia")); //$JR_EXPR_ID=20$ <-------------------------------------------------------------------------------------> 2. Cannot cast from boolean to Boolean value = (java.lang.Boolean)(((java.lang.String)field_analyte.getOldValue()).equals("S.pneumonia")); //$JR_EXPR_ID=20$ <----------------------------------------------------------------------------------------> 3. Cannot cast from boolean to Boolean value = (java.lang.Boolean)(((java.lang.String)field_analyte.getValue()).equals("S.pneumonia")); //$JR_EXPR_ID=20$ <-------------------------------------------------------------------------------------> 3 errors at net.sf.jasperreports.engine.design.JRAbstractCompiler.compileReport(JRAbstractCompiler.java:191) at net.sf.jasperreports.engine.JasperCompileManager.compileReport(JasperCompileManager.java:215) at net.sf.jasperreports.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:131) at net.sf.jasperreports.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:113) at model.ReportHandler.compileReports(ReportHandler.java:66) at model.ReportHandler.<init>(ReportHandler.java:34) at gui.Main.<init>(Main.java:31) at gui.Main$4.run(Main.java:296) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEvent(EventQueue.java:597) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161) at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
  3. Or should i do it with conditional style? So far nothing happened, when i added condition expression field.matches "text that needs to be italic) in a style i created.
  4. How is it possible to change font to italic when field has certain value?
×
×
  • Create New...