Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

ColumnSpan in JTable  RSS feed

 
Praveen Puri
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everybody....
how can I make a single JTable of 5 rows in which every row has different numbers of columns. In fact this is the idea something like as we use columnspan attribute to make a html table with a number of rows but different number of columns in each row.
solution of placing a JTable in JTable is not recommended.
please reply...if anyone can help me??? :<

------------------
 
panyam km
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi.,
u can find some table examples at this link.,
i hope this will help
http://www2.gol.com/users/tame/swing/examples/SwingExamples.html
------------------
 
Dvir G.
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The link given is Invalid.
If you found your solution, can you please post it here?

If not, Does anyone knows how this should be done?

Dvir
 
Eddie Vanda
Ranch Hand
Posts: 283
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I have a copy of that web site but the code does not compile as it was. I am trying to fix it, but it is rather voluminous.

Ed
 
Anthony Yip
Ranch Hand
Posts: 30
 
vikram hegde
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mr Puri,
If this issue to having different number of Columns in diffrent rows in JTable is solved. Can you pls let me know about how you achived this with the code snippet.
Thanks in Advance

Vic's
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!