File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes JTable with two data models .. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JTable with two data models .." Watch "JTable with two data models .." New topic

JTable with two data models ..


Joined: Jun 11, 2001
Posts: 4
Hi all ..
i am printing the tables ..
but at one stage . i am getting two tables but i want to merge them and form one table and then print .. does it possible ..?
please reply
thankx in advance ..
Nathan Pruett

Joined: Oct 18, 2000
Posts: 4121


Please re-register with a name that follows the guidelines of the JavaRanch naming conventions. We require all registered user names to be in the form "first name" + space + "last name". Thanks!


Write once, run anywhere, because there's nowhere to hide! - /. A.C.
Chantal Ackermann
Ranch Hand

Joined: Sep 28, 2000
Posts: 508
would it be wise to print the tables in another form than they appeared for the user? think about a new view "Printer friendly version" that displays the new table. this way you will show the user what your doing (gives him a chance to quit if he doesnt like it), and gives you a chance to build a new table for printing.
I agree. Here's the link:
subject: JTable with two data models ..
It's not a secret anymore!