log.info("Using PointerDevice " + pointerDevice.getId());
log.debug("Using PointerDevice " + pointerDevice.getId());
	public MouseHandler(Device fbDevice, Dimension screenSize) {		HardwareCursorAPI hwCursor = null;		Device pointerDevice = null;		PointerAPI pointerAPI = null;		try {			hwCursor = (HardwareCursorAPI) fbDevice.getAPI(HardwareCursorAPI.class);		} catch (ApiNotFoundException ex) {			log.info("No hardware-cursor found on device " + fbDevice.getId());		}		if (hwCursor != null) {			try {				final Collection pointers = DeviceUtils.getDevicesByAPI(PointerAPI.class);				if (!pointers.isEmpty()) {					pointerDevice = (Device) pointers.iterator().next();					pointerAPI = (PointerAPI) pointerDevice.getAPI(PointerAPI.class);				}			} catch (ApiNotFoundException ex) {				log.error("Strange...", ex);			}		}		this.hwCursor = hwCursor;		this.pointerAPI = pointerAPI;		this.screenSize = screenSize;		if (pointerAPI != null) {			log.info("Using PointerDevice " + pointerDevice.getId());            hwCursor.setCursorImage(JNodeCursors.ARROW);			hwCursor.setCursorVisible(true);			hwCursor.setCursorPosition(x, y);			pointerAPI.addPointerListener(this);		}	}