@Override
	public void drawForeground() {
		String str = "X1." + String.valueOf(x1) + " Y1." + String.valueOf(y1);
		String str2 = "X2." + String.valueOf(x2) + " Y2." + String.valueOf(y2);
		addText(10, 70, str);
		addText(10, 90, str2);
		
		int width;
		int height;
		
		if (x2 > x1){
			width = x2 - x1;
		} else {
			width = x1 - x2;
		}
		
		if (y2 > y1){
			height = y2 - y1;
		} else {
			height = y1 - y2;
		}
		
		height++;
		width++;
		
		String str3 = "W." + String.valueOf(width) + " H." + String.valueOf(height);
		addText(10, 110, str3);
		}