public void removeLast(){
  DataChangeEvent[] events;
synchronized (this) {
    int row=getRowCount() - 1;
    Row r=new Row(this,row);
    events=new DataChangeEvent[getColumnCount()];
    for (int col=0; col < events.length; col++) {
      events[col]=new DataChangeEvent(this,col,row,r.get(col),null);
    }
    rows.remove(row);
  }
  notifyDataRemoved(events);
}

public void removeLast ( ) { DataChangeEvent [ ] events ; synchronized ( this ) { int row = getRowCount ( ) - 1 ; Row r = new Row ( this , row ) ; events = new DataChangeEvent [ getColumnCount ( ) ] ; for ( int col = 0 ; col < events . length ; col ++ ) { events [ col ] = new DataChangeEvent ( this , col , row , r . get ( col ) , null ) ; } rows . remove ( row ) ; } notifyDataRemoved ( events ) ; }
removes the last row from the table .
