public void highlightLastRow(int row){
  int lastrow=m_tableModel.getRowCount();
  if (row == lastrow - 1) {
    m_table.setRowSelectionInterval(lastrow - 1,lastrow - 1);
  }
 else {
    m_table.setRowSelectionInterval(row + 1,row + 1);
  }
  m_table.setColumnSelectionInterval(0,0);
}

public void highlightLastRow ( int row ) { int lastrow = m_tableModel . getRowCount ( ) ; if ( row == lastrow - 1 ) { m_table . setRowSelectionInterval ( lastrow - 1 , lastrow - 1 ) ; } else { m_table . setRowSelectionInterval ( row + 1 , row + 1 ) ; } m_table . setColumnSelectionInterval ( 0 , 0 ) ; }
highlight the last row in the table
