4 Replies - 10943 Views - Last Post: 25 January 2009 - 12:25 AM Rate Topic: -----

#1 RSA  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 25-December 08

Merging cells of a JTable Object

Post icon  Posted 24 January 2009 - 05:54 AM

Hi all.
Is it possible to merge cells of a JTable object. If it isn't what is the best approach to do this? I need a table with changeable structure(number of rows). Tank you.

This post has been edited by RSA: 24 January 2009 - 08:17 AM

Is This A Good Question/Topic? 0
  • +

Replies To: Merging cells of a JTable Object

#2 markhazlett9  Icon User is offline

  • Coding is a lifestyle
  • member icon

Reputation: 61
  • View blog
  • Posts: 1,666
  • Joined: 12-July 08

Re: Merging cells of a JTable Object

Posted 24 January 2009 - 09:37 AM

What do you mean by merge cells? Like if you drag one cell onto another then they will become one cell?
Was This Post Helpful? 0
  • +
  • -

#3 pbl  Icon User is offline

  • There is nothing you can't do with a JTable
  • member icon

Reputation: 8378
  • View blog
  • Posts: 31,956
  • Joined: 06-March 08

Re: Merging cells of a JTable Object

Posted 24 January 2009 - 10:40 AM

View PostRSA, on 24 Jan, 2009 - 04:54 AM, said:

Hi all.
Is it possible to merge cells of a JTable object. If it isn't what is the best approach to do this? I need a table with changeable structure(number of rows). Tank you.

Nothing in the standard API but
Google merge cell jtable
will provided you with a lot of third party jar and some are even free
Was This Post Helpful? 0
  • +
  • -

#4 amir_ju  Icon User is offline

  • D.I.C Head

Reputation: 17
  • View blog
  • Posts: 82
  • Joined: 20-June 08

Re: Merging cells of a JTable Object

Posted 24 January 2009 - 01:35 PM

You may override the paint method of the table.

This post has been edited by amir_ju: 24 January 2009 - 01:41 PM

Was This Post Helpful? 1
  • +
  • -

#5 pbl  Icon User is offline

  • There is nothing you can't do with a JTable
  • member icon

Reputation: 8378
  • View blog
  • Posts: 31,956
  • Joined: 06-March 08

Re: Merging cells of a JTable Object

Posted 25 January 2009 - 12:25 AM

View Postamir_ju, on 24 Jan, 2009 - 12:35 PM, said:

You may override the paint method of the table.

probably what these mentioned packages do
good luck there is a lot of job (and coding) involved
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1