@ Override public void tableChanged ( TableModelEvent e ) { int rows = ( ( TableModel ) e . getSource ( ) ) . getRowCount ( ) ; updateStatus ( rows ) ; }
update the number of rows when the table change