Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JTable: How to combine several columns

 
Laurent Sate
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic