/** * * @param table the table which provides the renderers, must not be null * @param row the index of the row in view coordinates * @throws NullPointerException if table is null. * @throws IndexOutOfBoundsException if the row is not a valid row index */ public static void setPreferredRowHeight(JTable table, int row) { int prefHeight = getPreferredRowHeight(table, row); table.setRowHeight(row, prefHeight); }
/** * * @param table the table which provides the renderers, must not be null * @param row the index of the row in view coordinates * @throws NullPointerException if table is null. * @throws IndexOutOfBoundsException if the row is not a valid row index */ public static void setPreferredRowHeight(JTable table, int row) { int prefHeight = getPreferredRowHeight(table, row); table.setRowHeight(row, prefHeight); }
/** * * @param table the table which provides the renderers, must not be null * @param row the index of the row in view coordinates * @throws NullPointerException if table is null. * @throws IndexOutOfBoundsException if the row is not a valid row index */ public static void setPreferredRowHeight(JTable table, int row) { int prefHeight = getPreferredRowHeight(table, row); table.setRowHeight(row, prefHeight); }
/** * * @param table the table which provides the renderers, must not be null * @param row the index of the row in view coordinates * @throws NullPointerException if table is null. * @throws IndexOutOfBoundsException if the row is not a valid row index */ public static void setPreferredRowHeight(JTable table, int row) { int prefHeight = getPreferredRowHeight(table, row); table.setRowHeight(row, prefHeight); }