*/
	public static void hideNativeCursor(boolean hide) {
		hideNativeCursor = hide;

		// Check if the the current mouse supports native cursors
		// (if it allows for the creation and use of native cursors)
		if ((Cursor.getCapabilities() & Cursor.CURSOR_ONE_BIT_TRANSPARENCY) == 0) {
			System.out
					.println("KouchKarting.hideNativeCursor() : native cursor not supported in hardware");
		}
		try {
			if (hide) {
				// Initialise variables used for creating a new cursor
				Cursor cursor = null;
				int cursorImageCount = 1;
				int cursorWidth = Cursor.getMaxCursorSize();
				int cursorHeight = cursorWidth;
				IntBuffer cursorImages;
				IntBuffer cursorDelays = null;

				// Make a new cursorImage for the new cursor that is completely
				// transparent
				cursorImages = ByteBuffer
						.allocateDirect(
								cursorWidth * cursorHeight * cursorImageCount
										* SIZE_INT)
						.order(ByteOrder.nativeOrder()).asIntBuffer();
				for (int widthPos = 0; widthPos < cursorWidth; widthPos++) {
					for (int heightPos = 0; heightPos < cursorHeight; heightPos++) {
						cursorImages.put(0x00000000); // Hexadecimal used to
														// shorten amount of
														// typing
					}
				}
				cursorImages.flip();

				// Create a new cursor that is completely transparent using the
				// settings created, and turn it on
				cursor = new Cursor(Cursor.getMaxCursorSize(),
						Cursor.getMaxCursorSize(),
						Cursor.getMaxCursorSize() / 2,
						Cursor.getMaxCursorSize() / 2, cursorImageCount,
						cursorImages, cursorDelays);
				Mouse.setNativeCursor(cursor);
			}
			// If not hidden, set the native cursor to null, so that the mouse
			// uses the default cursor
			else {
				Mouse.setNativeCursor(null);
			}
		} catch (Exception exception) {
			System.out.println("KouchKarting.hidenativeCursor(): error "
					+ exception);
		}
	}