Solved

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

Posted on 2006-07-24
6
288 Views
Last Modified: 2010-03-31
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
Comment
Question by:sumashaila
  • 2
6 Comments
 
LVL 24

Accepted Solution

by:
sciuriware earned 250 total points
ID: 17166921
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
 
LVL 30

Assisted Solution

by:mayankeagle
mayankeagle earned 250 total points
ID: 17167720
>> 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
 
LVL 24

Expert Comment

by:sciuriware
ID: 17378602
OK

;JOOP!
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

For customizing the look of your lightweight component and making it look lucid like it was made of glass. Or: how to make your component more Apple-ish ;) This tip assumes your component to be of rectangular shape and completely opaque. (COD…
For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now