public void setShowTabNames ( boolean showTabNames ) { for ( int i = 0 ; i < getTabCount ( ) ; i ++ ) { String title = showTabNames ? getComponentAt ( i ) . getName ( ) : "" ; setTitleAt ( i , title ) ; } }
Sets whether or not the tab names should be shown .