(Disclaimer: I happen to work for Oracle but this has nothing to do with my job.)
I have been having trouble double-clicking things with my Apple Magic Mouse on my M1 Mac when running (Swing-based) Netbeans (see https://github.com/apache/netbeans/issues/8609 and the inciting discussion at https://github.com/apache/netbeans/discussions/8580). I noticed that perhaps (?) this is due to the lack of a "smudge factor" correcting for inadvertent tiny mouse motion events while double clicking. It seems, perhaps, that the Magic Mouse is very finicky in this area where the built-in Mac trackpad is not. At any rate, the XWindows toolkit has this: https://github.com/openjdk/jdk/blob/master/src/java.desktop/unix/classes/sun/awt/X11/XWindow.java#L71-L75 But perhaps (?) the analogous Mac OSX area does not: https://github.com/openjdk/jdk/blob/master/src/java.desktop/macosx/classes/sun/lwawt/macosx/CPlatformResponder.java#L71-L79 and it seems like this might result in the observed behavior. Is this a bug or works-as-it-does? Best, Laird