this.dataFieldCloned.setDocument(new FixedLengthDocument(doc.getMaxLength()));
}
else {
this.dataFieldCloned.setDocument(new PlainDocument()); // we can't reuse the document
}
this.dataFieldCloned.setFormatterFactory(new DataFieldFormatterFactory()); // we can't reuse the formatter
// TF:29 Oct 2008:removed the caret
this.dataFieldCloned.getCaret().setVisible(false);
//TF:DEBUG System.out.println("Renderer: orig " + this.dataFieldOriginal .getName()+" [" + this.dataFieldOriginal.hashCode() + "]");
//TF:DEBUG System.out.println("Renderer: clone " + this.dataFieldCloned.getName()+" [" + this.dataFieldCloned.hashCode() + "]");