Document doc = textField.getDocument(); if (doc instanceof AbstractDocument) ((AbstractDocument)doc).setDocumentFilter(null); textField.setNavigationFilter(null);
    public void uninstall ()    {      this.textField = null;    }