code: public Date getDate() {
  		try {
              date = dateFormatter.parse(getText());
  		} catch (ParseException e) {
  			date = null;
  		}
  		return date;
  	}
docs: /*
  (non-Javadoc)
  
  @see com.toedter.calendar.IDateEditor#getDate()