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.