Solved

reports in java

Posted on 2002-07-30
8
295 Views
Last Modified: 2010-03-31
I have an application which displays several screens of data, with headers, colors, icons, etc. I would like to print the data into several pages with a headers, page numbers, etc (NOT exactly as it is presented in the screen, simpler than that but with some format). Can anyone can suggest me from where to start?

Ale
0
Comment
Question by:tutty
[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
8 Comments
 
LVL 5

Accepted Solution

by:
nebeker earned 100 total points
ID: 7189684
You'll have to draw the data directly to the graphics context of the screen or the printer....

Here's a link to a free PDF on "Printing" in java -- and it includes a tutorial on printing JTables over multiple pages (with repeating headers on each page).

It's from the book "Swing"  by Manning Press.  I've got this book and I like it a lot...  

Here's the main web site for the book:

http://www.grandt.com/sbe/

If this doesn't get you started, you'll have to post more information on what you want to accomplish...
0
 
LVL 4

Expert Comment

by:antons061400
ID: 7189810
0
 

Expert Comment

by:j4l
ID: 7322395
here there is another commercial reporting tool: http://www.java4less.com/print_java_e.htm
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Expert Comment

by:blunted
ID: 7682379
use windowscript. look for a printscrn obj.
0
 

Expert Comment

by:Matt_Rudmann
ID: 7800827
tutty,

Take a look at rreport.  Do a google search for it.  I looked at it about a year ago.  It is lightweight, java(portable), and has a report designer.  I believe you can get the source code as well.  It is commercial, but is priced VERY reasonably...around $25-$45.

-Matt
0
 

Expert Comment

by:nike_java
ID: 7855078
There is another tool to generate reports,
actuate e-reporting tool, which takes in any data source
, which has a designer, previewer, and a document printer
which prints it in about 7 formats.
The data sources could be a simple dB or a nested java
objects. Is'nt that cool...
0
 
LVL 5

Expert Comment

by:vemul
ID: 7887861
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

- points to nebeker

Please leave any comments here within the
next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER !

vemul
Cleanup Volunteer
0
 
LVL 1

Expert Comment

by:Computer101
ID: 7959641
Comment from expert accepted as answer

Computer101
E-E Admin
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
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…
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
Suggested Courses

751 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