DataField df = newDataField(name, columns, factory, cb);
df.setNullValueAllowed(allowsNull);
return df;
}
public static DataField newDataField(String name, int columns, AbstractFormatterFactory factory, JComboBox cb) {
DataField df = new DataField(factory, cb);
df.setName(name);
df.setColumns(columns);
df.setOpaque(true);
df.setInputVerifier(new DataFieldVerifier());
df.setDisabledTextColor(SystemColor.windowText);
setFont(df);
// TF:17 Sep 2009:Moved this into the actual control
// df.addMouseListener(StatusTextListener.sharedInstance()); //PM:1/5/08
return df;
}