| Author |
Print table need some idea
|
anchit pancholi
Ranch Hand
Joined: Oct 14, 2010
Posts: 44
|
|
Hi All,
i have 120 tables in database and i want to print 6 table on a page like a invoice format. so there will be 20 pages.
how can i print 6 invoice on a single page and print all tables data in 20 pages??
i tried table.print(); but this is helps when i have only one table per page. other then that please suggest me something if you have some other solution
Thanks
Anc
|
 |
Rob Spoor
Sheriff
Joined: Oct 27, 2005
Posts: 19232
|
|
anchit pancholi wrote:i tried table.print(); but this is helps when i have only one table per page.
Are you sure? I remember trying that before and getting the content spread across multiple pages, even with the column names at the top of each page. However, the JTable must be visible for this to work.
|
SCJP 1.4 - SCJP 6 - SCWCD 5
How To Ask Questions How To Answer Questions
|
 |
anchit pancholi
Ranch Hand
Joined: Oct 14, 2010
Posts: 44
|
|
Rob Spoor wrote:
anchit pancholi wrote:i tried table.print(); but this is helps when i have only one table per page.
Are you sure? I remember trying that before and getting the content spread across multiple pages, even with the column names at the top of each page. However, the JTable must be visible for this to work.
when i tried this that time i am getting only one print and there page have only border no data.
is there any other thing easier then this if you know??
Thanks for reply
|
 |
Ashish Agre
Ranch Hand
Joined: Jan 22, 2011
Posts: 73
|
|
Go here ....
Java 7 Tuts
Download the tutorials and then fin JTable demo.
|
| B.E IT | SCJP 6.0 98 % |
|
 |
 |
|
|
subject: Print table need some idea
|
|
|