private void updateHeader ( ) { gradientPanel . setBackground ( getHeaderBackground ( ) ) ; gradientPanel . setOpaque ( isSelected ( ) ) ; titleLabel . setForeground ( getTextForeground ( isSelected ( ) ) ) ; headerPanel . repaint ( ) ; }
Updates the header .