AbstractFormatter formatter = createFormatter(newValue); try { setText(formatter.valueToString(newValue)); } catch (ParseException ex) {  }
  public void setValue (Object newValue)  {    if (value == newValue)      return;        Object oldValue = value;    value = newValue;    firePropertyChange("value", oldValue, newValue);  }