@Override
  public void setFont(Font font) {
    super.setFont(font);
    if (myEditorPane != null) {
      updateEditorPaneStyle();
      updateTextAlignment();
    }
  }
@Override
  public void setFont(Font font)