aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes JTable: How to combine several columns 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: How to combine several columns " Watch "JTable: How to combine several columns " New topic
Author

JTable: How to combine several columns

Laurent Sate
Greenhorn

Joined: Dec 18, 2001
Posts: 10
Hello,
I have a JTable with 4 columns and some rows.

In fact i want to combine the 4 columns in 1 for the first row. How can I do that?
Thanx for your help.
[ January 22, 2002: Message edited by: LS ]
Nathan Pruett
Bartender

Joined: Oct 18, 2000
Posts: 4121

LS,

Please re-register with a user name that follows the JavaRanch Offical UserName Policy. Your user name must be in the format "First Name" + space + "Last Name", and can't be obviously fake.

As to merging columns... you'd probably want to do that in whatever TableModel you are using in your table...

-Nate


-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JTable: How to combine several columns