protected void updateDisplay() {
		System.out.println("HELLO");
		cover.repaint();
		if (displayedToolIndex >= 1) {
			
			
			this.startXPosition.setText("" + Math.round(cover.getStartPoint().getX()));
			this.startYPosition.setText("" + Math.round(cover.getStartPoint().getY()));
			if (displayedToolIndex > 1) {
				
				this.stopXPosition.setText("" + Math.round(cover.getEndPoint().getX()));
				this.stopYPosition.setText("" + Math.round(cover.getEndPoint().getY()));

				if (displayedToolIndex == 2) 
					this.numPixels.setText("" + Math.round(cover.getEndPoint().distance(cover.getStartPoint())));
				if (displayedToolIndex == 3)
					this.numPixels.setText("" + Math.round((Math.abs(cover.getEndPoint().getX()-cover.getStartPoint().getX()) * Math.abs(cover.getEndPoint().getY() - cover.getStartPoint().getY()))));
			}
			
		}
		this.handlePixelValue();
		this.bringToFront(cover);
	}