Printing from Java

Paul Legato <[email protected]>
Newsgroups gmane.comp.java.jswat.user
Message-ID <[email protected]>
I apologize in advance for the off-topic post. This is making me crazy, 
and I'm sure someone here knows a solution. For what it's worth, I'm 
using JSwat to debug my program. :)

I want to print some basic reports. Nothing fancy, no charts or graphs, 
just some header text and a list/table of values.

The Java printing API's are not very high level. Ideally, I want to be 
able to just make a JPanel or even an HTML document and have it display 
on screen and also print.

Does anyone know of a good utility printing library that abstracts away 
the low-level details like deciding whether a given page number exists 
in your document or the rendering of individual pixels?

Any suggestions are greatly appreciated..
Thanks,
-Paul
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.