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
You can also add a tableModelListener?
model.addTableModelListener(new TableModelListener() {
@Override public void tableChanged(final TableModelEvent e) {
EventQueue.invokeLater(new Runnable() {
@Override public void run() {
table.setRowHeight(e.getFirstRow(), 15); //replace 15 with your own height
}
});
}
});