Hi All, Can somebody tell me how to print the contents of a JTable. My requirement is i have a JTable with some data. The entire table along with its header, should be printed. Please give me some sample code. Thanks in advance.
i am also having the same problem. my requirement is to print a html page which is placed in JEditorPane. By using ur example program i am able to print my html page.
thank you very much.
but i am unable to specify the number of pages to print.
i have one question regarding this How to count the number of lines in JEditorPane? so that i can specify the number of pages to be printed.
Thanks in Advance. [ April 21, 2005: Message edited by: sasi kala ]