I’m going to create application
in that to enter invoice i’ve created form in which i have used JTable
but end user requirement is that the the description may be of 2 to 3 lines
(image of table)
[i![]]
so i want the code to increase the size of row
I assume that you are trying to display data in multiple lines in a
JTablecell. An example which I have tried to show data in multiple lines within a cell.As @Sergii has suggested use
JTable.setRowHeightto increase the height of the cell. Thedata columncell is rendered withJTextArea.