public void setFormat(String format) {
		formatString = format;
		formatter = (format == null) ? null : new DecimalFormat(format);
		try {
			setValue(Double.valueOf(getText().trim()).doubleValue());
		} catch (NumberFormatException ex) {
			/* Empty */
		}
	}