@Override
	public void mouseMoved(MouseEvent e) {
		Point p = e.getPoint();
		Point imageOrigin = getImageLoc();
		
		if(p != null && bufImage != null){
			Point imagePixel = new Point(p);
			imagePixel.x -= imageOrigin.x;
			imagePixel.y -= imageOrigin.y;
			
			if(imagePixel.x >= bufImage.getWidth() ||
					imagePixel.x < 0) return;
			if(imagePixel.y >= bufImage.getHeight() ||
					imagePixel.y < 0) return;
			
			int val = bufImage.getRGB((int)imagePixel.getX(), (int)imagePixel.getY());
			pixelRField.setText("" + (val & 0x000000FF));
			pixelGField.setText("" + ((val & 0x0000FF00)>>8) );
			pixelBField.setText("" + ((val & 0x00FF0000)>>16) );
		}
	}