Is there anyway to do a mousemove event with java.awt.Component.dispatchEvent(AWTEvent)?

.dispatchEvent(new MouseEvent(client.a
                           .getComponentAt(1, 1),
                               MouseEvent.MOUSE_MOVED,
                               System.currentTimeMillis(),
                               MouseEvent.NOBUTTON,
                               x,y,
                               1,
                               false));


I got this now but it doesnt perform a mouse move.
How can i do it?

Edit:
I tried it like this but its not working:

.dispatchEvent(new MouseEvent(client.a
                           .getComponentAt(1, 1),
                               MouseEvent.MOUSE_MOVED,
                               System.currentTimeMillis(),
                               MouseEvent.NOBUTTON,
                               x,y,
                               0,
                               false));


Thanks,
Jeffrey


Question: I Cancelled Microsoft 10 Reservation and uninstalled KB3035583 but Window 10 is still trying to install
Answer: Short Version:

Use Windows' Disk Clean-up Tool to remove the installer files so that the upgrade fails (intentionally).

Long Version:


Uninstall KB3035583 and select the option to reboot later.
Run the Disk Clean up tool and select the Clean up system files after the initial scan. Select the Temporary installation files for deletion. Once they are removed reboot your system and then check for Windows Updates once again
Wait for the scheduled time to arrive because that has already been set in motion if you choose a time for the upgrade. One hour prior to that you will see a window on your screen indicating that it is almost time for the upgrade to happen. This dialog does offer you the chance to reschedule as well.
Once the timer reaches zero then the system will begin the upgrade process.
Following the reboot, the attempt to upgrade will fail because you removed the temporary installation files earlier in this scenario.
You now need to check Windows Update and hide KB3035583 and the Windows 10 Upgrade when it is offered so they will not start again.


Source for Long Version