private void updateCustomComponentBounds ( ) { if ( customComponents == null ) { return ; } if ( table == null ) { return ; } for ( int i = 0 ; i < customComponents . size ( ) ; i ++ ) { JComponent component = customComponents . get ( i ) ; Rectangle rect = getHeaderRect ( i ) ; rect . height = customComponentHeight ; component . setBounds ( rect ) ; } revalidate ( ) ; }
Update the bounds of all custom components based on the current column widths