Re: Printing in java



raam wrote:
I used an example program to print a page in java.The g.drawString
method is fine when i write simple text.If I try to print a JTable I
could not use this.If I try the print method of JTable it prints one
table per page.How to print more than one table per page.

By scaling/translating the Graphics context appropriately before placing the tables on the page.

/Thomas
--
The comp.lang.java.gui FAQ:
ftp://ftp.cs.uu.nl/pub/NEWS.ANSWERS/computer-lang/java/gui/faq
http://www.uni-giessen.de/faq/archiv/computer-lang.java.gui.faq/
.