code: public void focusLost (FocusEvent event)
      {
          // make sure the value is not changed from the value in the
          // object; if it is, set a modified border
          Object dvalue = null;
          try {
              dvalue = getDisplayValue();
          } catch (Exception e) {
              log.warning("Failed to parse display value " + e + ".");
              displayValue(getValue());
          }
  
          updateBorder(!valueMatches(dvalue));
      }
docs: documentation inherited from interface