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