< prev index next >

src/java.desktop/share/classes/javax/swing/table/DefaultTableModel.java

Print this page

        

*** 312,330 **** fireTableChanged(event); } /** * Obsolete as of Java 2 platform v1.3. Please use <code>setRowCount</code> instead. - */ - /* - * Sets the number of rows in the model. If the new size is greater - * than the current size, new rows are added to the end of the model - * If the new size is less than the current size, all - * rows at index <code>rowCount</code> and greater are discarded. - * * @param rowCount the new number of rows - * @see #setRowCount */ public void setNumRows(int rowCount) { int old = getRowCount(); if (old == rowCount) { return; --- 312,322 ----
< prev index next >