@Override
	public void mouseMoved(MouseEvent event) {
		//System.out.println(event.getX() + " " + event.getY());
		int x, y;
		x = event.getX();
		y = event.getY();
		if(buttonArea.contains(x, y))
			hoverButton = true;
		else
			hoverButton = false;
		if(boundLeft.contains(x, y) || boundRight.contains(x, y) || boundTop.contains(x, y) || boundDown.contains(x, y) || hoverButton)
			frame.setCursor(Cursor.HAND_CURSOR);
		else
			frame.setCursor(Cursor.DEFAULT_CURSOR);
	}