• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 313
  • Last Modified:

How to embed a report ( developed by JReport ) in java application

I have generated a report  using JReport. I want to use this report in my java application. Something like when i click any control ,i should get this report . How can i do it.
0
sumashaila
Asked:
sumashaila
  • 2
2 Solutions
 
sciuriwareCommented:
You can embed files as resources into a .jar
If you can put the file near a certain .class file and
retrieve it as resource, you can also do it running from the .jar later.
The rest depends a bit on the way to display the file (is it HTML?).
;JOOP!
0
 
Mayank SAssociate Director - Product EngineeringCommented:
>> Something like when i click any control ,i should get this report

You need to make some AWT/ Swing/ Applet for this:

http://java.sun.com/docs/books/tutorial/uiswing/

You need to handle the button's click (action-event) and then display your report in a panel or something.
0
 
sciuriwareCommented:
OK

;JOOP!
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now