setPropertiesFromAttributes();
StyleSheet ss = getStyleSheet(); attributes = ss.getViewAttributes(this); preferenceChanged(null, true, true);
  public void changedUpdate(DocumentEvent e, Shape a, ViewFactory f)  {    super.changedUpdate(e, a, f);    setPropertiesFromAttributes();  }