Java - AWT/Swing
JTable offers a simple order to set the height of the line:
JTable table = new JTable(... table.setRowHeight(24);
By the way, the font stays unrevised with it. If this is to be changed, a TableCellRenderer must be insert.