public void move() {
		t1.start();

		if (direction.equals("UP")) {
			direction = "UP";
			y -= SPEED_DEMON;

		} else if (direction.equals("RIGHT")) {
			direction = "RIGHT";
			x += SPEED_DEMON;

		} else if (direction.equals("DOWN")) {
			direction = "DOWN";
			y += SPEED_DEMON;
		} else if (direction.equals("LEFT")) {
			direction = "LEFT";
			x -= SPEED_DEMON;

		}

		if (x >= x_max - 4) {
			direction = "LEFT";

		} else if (x <= 4) {
			direction = "RIGHT";
		} else if (y >= y_max) {
			direction = "UP";

		} else if (y <= 4) {
			direction = "DOWN";
		}

	}