if (formatterFactory == null) setFormatterFactory(createFormatterFactory(newValue));     setFormatter (formatterFactory.getFormatter(this));
  public void setValue (Object newValue)  {    if (value == newValue)      return;        // format value    AbstractFormatter formatter = createFormatter(newValue);    try      {        setText(formatter.valueToString(newValue));      }    catch (ParseException ex)      {        // TODO: what should we do with this?      }    Object oldValue = value;    value = newValue;    firePropertyChange("value", oldValue, newValue);  }