• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JTable cell rendering

 
Suman Mummaneni
Ranch Hand
Posts: 96
Android Java Mac
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,

Is there any way I can render a JTable cell so that I can wrap the text in the JTable as you do it in a MS Excel file. I also need to create a JTable which has different JTable cell structures is that possible. if you have any examples of code that do that stuff please reply.
thankyou
-Suman
 
Anand Karia
Ranch Hand
Posts: 156
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I think this code could help you out.

 
Suman Mummaneni
Ranch Hand
Posts: 96
Android Java Mac
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Anand,

Thank you for the reply. I need some thing that will edit the basic cell of the table and add or delete rows in a particular cell. I have seen cell rendere but I need to set the cell size and do some text wraping kind of thing in a cell of the JTable.

-Suman
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic