question: private void updatePagingDisplay ( ) { buttonFirstPage . setEnabled ( model . getCurrentPageIndex ( ) != 0 ) ; buttonPreviousPage . setEnabled ( model . getCurrentPageIndex ( ) != 0 ) ; buttonNextPage . setEnabled ( model . getCurrentPageIndex ( ) < model . getNumberOfPages ( ) - 1 ) ; buttonLastPage . setEnabled ( model . getCurrentPageIndex ( ) < model . getNumberOfPages ( ) - 1 ) ; paginationPanel . setVisible ( model . getNumberOfPages ( ) > 1 ) ; filterLabel . setText ( I18N . getMessage ( I18N . getGUIBundle ( ) , "gui.label.meta_data_stats.filter.filters.label" , model . getVisibleSize ( ) , model . getTotalSize ( ) ) ) ; int minNumber = Math . min ( model . getCurrentPageIndex ( ) * MetaDataStatisticsModel . PAGE_SIZE + 1 , model . getVisibleSize ( ) ) ; int maxNumber = Math . min ( ( model . getCurrentPageIndex ( ) + 1 ) * MetaDataStatisticsModel . PAGE_SIZE , model . getVisibleSize ( ) ) ; labelDisplayedAttribute . setText ( I18N . getMessage ( I18N . getGUIBundle ( ) , "gui.label.meta_data_stats.filter.showing_attributes.label" , minNumber , maxNumber ) ) ; }
target:  Updates the paging buttons state as well as the label displaying the currently visible number of attributes.