aspose file tools*
The moose likes Other Open Source Projects and the fly likes Reports not displayed Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Reports not displayed" Watch "Reports not displayed" New topic
Author

Reports not displayed

Kunal Lakhani
Ranch Hand

Joined: Jun 05, 2010
Posts: 618
I am using iReport for creating reports. The following code does so :


MyiReportViewer.java


Here is my Swing class code



The report is generated when i look directly through iReport, but, when i create the jar of my java code, and run it via console, it asks for the paramater and then nothing is displayed. I mean not even the blank report. The console even doesn't shows any exception.
The strange thing is that, the same report (and the same code) is also present in a menu option, and when i click that menu, it works fine.

What is wrong with the code?


kunal
Kunal Lakhani
Ranch Hand

Joined: Jun 05, 2010
Posts: 618
No reply yet?
 
Consider Paul's rocket mass heater.
 
subject: Reports not displayed
 
Similar Threads
Retriving jTextfield value from an other java file
How To Play Loop Audio In Java Application
Accessing reports gives net.sf.jasperreports.engine.JRException: java.io.FileNotFoundException
Exception in JasperFillManager.fillReport() line
Dynamic textfield creation