This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Reports not displayed" Watch "Reports not displayed" New topic

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 :

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 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
Similar Threads
How To Play Loop Audio In Java Application
Dynamic textfield creation
Retriving jTextfield value from an other java file
Exception in JasperFillManager.fillReport() line
Accessing reports gives net.sf.jasperreports.engine.JRException: