/** * Inserts a row * * @param row the row to insert */ public void insertRow(int row) { if (formula1 != null) { formula1.rowInserted(0, row, true); } if (formula2 != null) { formula2.rowInserted(0, row, true); } if (row1 >= row) { row1++; } if (row2 >= row && row2 != MAX_ROWS) { row2++; } }