public void setForeground(@Nullable Color foreground) {
    ThreadingAssertions.assertEventDispatchThread();
    
    if (foreground != null) {
      myForeground = foreground;
    }
    if (!myTexts.isEmpty()) {
      updateAdvertisements();
    }
  }
public void setForeground(@Nullable Color foreground)