@Override
  public void setForeground(Color color) {
    super.setForeground(color);
    //noinspection ConstantConditions
    if (myText != null) {
      // null when called from the constructor of the superclass
      myText.setForeground(color);
    }
  }
@Override
  public void setForeground(Color color)