File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Reports not displayed

 
Kunal Lakhani
Ranch Hand
Posts: 622
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 Lakhani
Ranch Hand
Posts: 622
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No reply yet?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic