static int tableColumnViewIndex(JTable t, S colName) { ret swing(func -> int { t.convertColumnIndexToView(t.getColumn(colName).getModelIndex()) }); }