void (final boolean active) { super.setActive(active); myLabel.setIcon(active ? myRegular : myInactive); if (isPopup) { myLabel.setForeground(JBUI.CurrentTheme.Popup.headerForeground(active)); } else { myLabel.setForeground(active ? UIUtil.getLabelForeground() : UIUtil.getLabelDisabledForeground()); } }