public void mouseReleased(MouseEvent arg0) {
		switch(arg0.getButton()) {
		default:
			break;
		case MouseEvent.BUTTON1:
			leftButton = false;
			break;
		case MouseEvent.BUTTON2:
			middleButton = false;
			break;
		case MouseEvent.BUTTON3:
			rightButton = false;
			break;
		}
	}