private void update(){
  dataControl.setFirstRow(1);
  dataControl.setLastRow(Math.min(dataControl.getMaxRows(),getDefaultMaximumNumber("rowlimit",dataControl.getMaxRows())));
  dataControl.setFirstColumn(1);
  dataControl.setLastColumn(Math.min(dataControl.getMaxColumns(),getDefaultMaximumNumber("columnlimit",dataControl.getMaxColumns())));
  dataControl.update();
}

private void update ( ) { dataControl . setFirstRow ( 1 ) ; dataControl . setLastRow ( Math . min ( dataControl . getMaxRows ( ) , getDefaultMaximumNumber ( "rowlimit" , dataControl . getMaxRows ( ) ) ) ) ; dataControl . setFirstColumn ( 1 ) ; dataControl . setLastColumn ( Math . min ( dataControl . getMaxColumns ( ) , getDefaultMaximumNumber ( "columnlimit" , dataControl . getMaxColumns ( ) ) ) ) ; dataControl . update ( ) ; }
this method should be invoked after data changes . it defines new ranges for the data control object and invokes the update method of data control .
