if (textField != null) { try {  textField.setText(valueToString(textField.getValue())); Document doc = textField.getDocument();   if (doc instanceof AbstractDocument) ((AbstractDocument)doc).setDocumentFilter(getDocumentFilter());   textField.setNavigationFilter(getNavigationFilter());    } catch (ParseException pe) {  textField.setText(""); setEditValid(false); } }
    public void install(JFormattedTextField textField)    {      if (this.textField != null)	uninstall();            this.textField = textField;    }