tags:

views:

82

answers:

1

I need to show the below data in a Jtable cell.As of now everything comes in a single line even-though i'm overriding the object's toString method with newline characters.How can I set the Jtable to adjust the cell height and width depending on the data.

Segment ID: 1  
Elevation : 2.0 
Azimuth :30.0  
+1  A: 

Try to embed a JTextArea object within a JTable cell

cooltechnomax
Refer: http://www.javafaq.nu/java-article902.html
cooltechnomax