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 Spring in Action this week in the Spring 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: 622
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: 622
No reply yet?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Reports not displayed