Solved

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

Posted on 2006-07-24
6
303 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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:Mayank S
Mayank S 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

Transaction Monitoring Vs. Real User Monitoring

Synthetic Transaction Monitoring Vs. Real User Monitoring: When To Use Each Approach? In this article, we will discuss two major monitoring approaches: Synthetic Transaction and Real User Monitoring.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

688 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