On Tue, 25 Feb 2025 23:59:22 GMT, Alisen Chung <ach...@openjdk.org> wrote:

> > The Robot API is just a wrapper around the native API with a basic 
> > functionality that works across all platforms. If a native macOS 
> > application can move the mouse in a certain way, why should Java be 
> > restricted?
> 
> The problem is that different platforms have different behaviors. I think 
> since Java behavior should be consistent across platforms, it should be 
> changed to have it's own implementation rather than just be a wrapper around 
> the native API.

To some extent, yes, but the Robot class is part of AWT, which is a 
platform-dependent toolkit.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/22781#issuecomment-2689654446

Reply via email to