Setting the height of a row in a JTable in java

前端 未结 4 1716
小蘑菇
小蘑菇 2021-02-19 13:04

I have been searching for a solution to be able to increase the height of a row in a JTable. I have been using the setRowHeight(int int) method which compiles and runs OK, but n

4条回答
  •  花落未央
    2021-02-19 13:51

    You can use:

    table.setRowHeight(int par1);

    or if you wanted to set the row height for a specific row, use:

    table.setRowHeight(int par1, int par2);

提交回复
热议问题