@Override
  public void setForeground(Color fg) {
    myFontColor = null;
    super.setForeground(fg);
    if (myEditorPane != null) {
      updateEditorPaneStyle();
    }
  }
@Override
  public void setForeground(Color fg)