Robot.mouseMove() in macOS Mojave

Philip Race philip.race at
Thu Apr 4 06:09:49 UTC 2019


But try including the exact jdk version + a test case when you do
since I am not sure that exact issue has been seen.
Problems with needing to allow accessibility is the mojave specific  
issue I can recall.


On 4/3/19, 10:56 PM, David Holmes wrote:
> Hi Kusti,
> The folks on swing-dev or awt-dev are probably the ones most likely to 
> be able to assist.
> Cheers,
> David
> On 4/04/2019 3:51 pm, Kustaa Nyholm wrote:
>> Hi,
>> I've got an application where zooming with the scroll wheel on the 
>> mouse will also center the mouse on the screen (well window actually).
>> This has worked since day one for some 15 years.
>> The mouse centring is implemented with Robot.mouseMove() method.
>> This morning I received a message from a beta tester that my latest 
>> build fails to center the cursor on macOS Mojave.
>> I've not investigated this further except to check that it works for 
>> me on High Sierra.
>> So I'm canvassing here to see if this is a know issue or information 
>> to the contrary.
>> cheers Kusti

More information about the core-libs-dev mailing list