On Wed, 29 Oct 2025 17:19:12 GMT, Sergey Bylokhov <[email protected]> wrote:
> you can start the sanity/client/SwingSet/src/ToolTipDemoTest.java and check > how smoothly mouse is moved on the screen. > > > By the way, I think it's worth comparing this to some other API, like > > Jemmy, which is used in the sanity testsuite. It implements a nice mouse > > movement with acceleration and deceleration to demonstrate the tooltips. > > Just to think about other ways to implement sliding. @mrserb I see where `ToolTipDemoTest.java` uses Jemmy's mouse movement now, thanks. However, since the current implementation is functional and is what the tests are working with, I'd prefer to keep the current implementation of `glide` as is for now. If the mouse movement used in Jemmy really does turn out to be preferred, we can make a future update to the mouse movement implementation since it does not seem to need any API doc changes. It would be a simple implementation update so I don't see any difficulties with this down the line. ------------- PR Comment: https://git.openjdk.org/jdk/pull/26969#issuecomment-3469806697
