my dog learned polymorphism*
The moose likes Swing / AWT / SWT and the fly likes JTable cell rendering Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JTable cell rendering" Watch "JTable cell rendering" New topic
Author

JTable cell rendering

Suman Mummaneni
Ranch Hand

Joined: Dec 14, 2004
Posts: 87
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

Joined: Sep 25, 2004
Posts: 156

Hi, I think this code could help you out.



Love is GOD and GOD is Love.
Anand Karia
IT Concretor.......
M/s. Anand Karia Concreting IT
Suman Mummaneni
Ranch Hand

Joined: Dec 14, 2004
Posts: 87
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JTable cell rendering
 
Similar Threads
JTable
JTable
jtable
JTable
jtable