// Class<TextDomain> klass, int mask) {
// return newPasswordField(name, columns);
// }
public static DataField newPercentageField(String name, int columns, String pattern, int minimumFraction) {
PercentFormatter editFormatter = new PercentFormatter(pattern, minimumFraction);
PercentFormatter displayFormatter = new PercentFormatter(pattern, minimumFraction);
DataField df = newDataField(name, columns, new DefaultFormatterFactory(displayFormatter, displayFormatter, editFormatter, null));
return df;
}