private void setForeground(boolean isHovered) {
    boolean isEnabled = isEnabled();
    if (isEnabled && isHovered) {
      if (myNameLabel != null) {
        myNameLabel.setForeground(StartupUiUtil.isUnderDarcula() ? UIUtil.getLabelForeground() : UIUtil.getTextAreaForeground());
      }
      myValueLabel.setForeground(StartupUiUtil.isUnderDarcula() ? UIUtil.getLabelForeground() : UIUtil.getTextFieldForeground());
    }
    else {
      if (myNameLabel != null) {
        myNameLabel.setForeground(isEnabled ? UIUtil.getLabelInfoForeground() : UIUtil.getLabelDisabledForeground());
      }
      myValueLabel.setForeground(isEnabled ? UIUtil.getLabelForeground() : UIUtil.getLabelDisabledForeground());
    }
  }
private void setForeground(boolean isHovered)