public boolean deleteRow ( int row ) { if ( row < 0 || row >= rows . size ( ) ) { return false ; } rows . remove ( row ) ; curPosition . setLocation ( curPosition . x - 1 , curPosition . y ) ; return true ; }
Deletes a row .