public void mouseMoved(MouseEvent e) {
		int val = inputImage.getRGB(e.getX(), e.getY());
		Color color = new Color(val);
		xyVal.setText(e.getX() + " " + e.getY() + "    ");
		redVal.setText(color.getRed() + ", ");
		greenVal.setText(color.getGreen() + ", ");
		blueVal.setText(color.getBlue() + "    ");
		repaint();
	}