private void setStats(long start) {
		
		if(this.stats != null) {
			DateFormat dateFormat = new SimpleDateFormat("yyyy/MM/dd HH:mm:ss");
			Calendar cal = Calendar.getInstance();
			
			String duration = ""; 
			if(start != 0) {
				duration = " [" + (cal.getTimeInMillis() - start) + "ms]";
			}

			String validation = " <Not Validated>";
			try {
				String xml = this.textArea.getText();
				if(!Utilities.isNullOrWhitespace(xml)) {
					Document doc = Utilities.parseXml(xml);
					Utilities.validate(doc);
					if(this.validator != null) {
						this.validator.validate(doc);
					}
					
					validation = " <Valid>";
				}
			} catch (Exception e) {
				validation = " <Validation Error: " + e.getMessage() + ">";
			}
			
			this.stats.setText("Last Query: " + dateFormat.format(cal.getTime()) + duration + validation);
		}
	}