private String originalFormat;
public NumericFormatter(JFormattedTextField field, String pFormat, Class<?> valueClass) {
super();
this.originalFormat = pFormat;
this.formatter = new NullAwareNumberFormat(pFormat);
this.docFilter = new FormattedNumericDocumentFilter(formatter, field);
this.navFilter = new FormattedNumericNavigationFilter(field);
this.setValueClass(valueClass);
}