final PointerInfo pointerInfo = MouseInfo.getPointerInfo();
// Obtain information from the mouse
final Point point = pointerInfo.getLocation();
final EyeTrackingEvent event = createEvent(point);
MouseTrackingDevice.this.listenerLock.lock();
// And dispatch it to the listener
for (int i = 0; i < MouseTrackingDevice.this.trackingListener.size(); i++) {
final EyeTrackingListener l = MouseTrackingDevice.this.trackingListener.get(i);