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

prancius

Members
  • Posts

    17
  • Joined

  • Last visited

 Content Type 

Profiles

Forum

Events

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Downloads

Everything posted by prancius

  1. No ideas? Is it some problem ar this solution? Regards, Pranas
  2. Hello, I have working with java using jasperreports. Now i have problem when report have a lot of pages. I need some solution to show user that filling progress is working. Maybe there is some events or variable which holds filled pages or maybe there is some configuration to show allready generated pages while other is still generating? Any idea is welcome. My peace of code DefaultTableModel model = new DefaultTableModel(data,this.getHeaders()); JasperPrint jasperPrint = null; JRTableModelDataSource ds=new JRTableModelDataSource(model); try { jasperPrint = JasperFillManager.fillReport(reportFileName,params,ds); } catch (JRException e) { PrintLog.log(PrintLog.ERROR,"TablePanelSimple;"+e.toString()); } return jasperPrint; Regards, Pranas
  3. Hello, I need some solution with JTable. I hope someone point me to some ideas. I have JTable and using sorting and filters. For example i have sorted data by clicking on column header i would pass this data to Report. Everything ok but using JRTableModelDataSource daat comes not sorted. Maybe somebody knows how to pass to repoert allready sorted table data? Thank you Pranas Post edited by: prancius, at: 2008/03/02 18:56
  4. Hello, I want to know is it possible to use a number for describing a field like $F{0}. Where 0 is the first field? As we know syntax is $F{name} I have problem with JTable header when i am using html tags and in ireport field name cannot contain tags. I am using something like this with JTable (first column header) <html>Name<font color='#FF0000'>*</font></html> Thank you Pranas
  5. Hello, I have problems by adding some font for pdf. I have test.ttf file and want to use it when exporting report to pdf file. For example i need opportunity to use arial fort for pdf. Any solution? Thanks
  6. I have downloaded 1.2.8 version and it is the sameproblem exists. When document has no data (empty report) it shows JInternalFrame.showMessageDialog(....) twice. Any sollutions to sove this?
  7. Does anyone knows why message appears twice when document has no pages. Is it some property to change that i have view report if no data comes to detail section? Thaks a lot
  8. I need to know how many pages before showing a report. If pages are 0 so i am popup some message to user and do not showing report. Anyway why its popup two messages ???
  9. 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
  10. Hello, My sollution is to use one sting type parameter with simbols n and set feature for textfield "stretch with overflow" How do think is is very bad :)
  11. "You could pass to the report the list of subtypes as a parameter of type Collection." It is good idea for me. It is possible some way get how many parrameters are comming to report. I can make all calculations wiht java, give result via parameters For exampple: param1 "gas14 50 80" param2 "gas15 195 172" .... But i need to organise some loop in report get all parameters and post the values Is it possible this way? I do not impresed to you subreport.
  12. Hello, i have a report Data structure (example): CAR FUELTYPE USEDFUEL GIVEDFUEL Honda "gas14" 50 80 "gas15" 80 14 Mistubihi "gas15" 70 80 Wolkswagen "gas15" 45 78 "gas21" 70 42 Peugeot "gas16" 45 78 "gas21" 10 89 "gas28" 75 41 Is it some way to get total of used and gived fuel for this data it should looks like: Total: "gas14" 50 80 "gas15" 195 172 "gas16" 45 78 "gas21" 80 131 "gas28" 75 41 Any advice are welcome! I can calculate total with java and send to report via Map parameter, but it is static Help Post edited by: prancius, at: 2006/08/30 19:35
  13. Hello, i have prolem using ireport wizard. I cand to define normaly Bean class in first wizard window. I should set corectlly class path but it does now work anyway Any ideas? Post edited by: prancius, at: 2006/08/29 19:29
  14. Hello, In my Java desktop application i am showing Jasper reports via JRViewer object, but it takes few seconds until window popup. Maybe somebody have some ideas how to implement JProgresBar, or have some source examples o complete sollution? Thanks a lot, any ideas are welcome. Pranas
×
×
  • Create New...