}
protected String getDefaultFormat() {
return DateFormats.getDateFormat(DateFormat.DEFAULT, _locale, DEFAULT_FORMAT);
}
protected String getLocalizedFormat() {
<BUG>String format = getFormat();
if (format == null)
format = getDefaultFormat();
return new SimpleDateFormat(format,
</BUG>
_locale != null ? _locale: Locales.getCurrent()).toLocalizedPattern();

}
public Datebox() {
setFormat("");
setCols(11);
}
public Datebox(Date date) throws WrongValueException {
this();
setValue(date);
}
protected String getDefaultFormat() {
return DateFormats.getDateFormat(DateFormat.DEFAULT, _locale, DEFAULT_FORMAT);
}
protected String getLocalizedFormat() {
return new SimpleDateFormat(getRealFormat(),
