<div dir="ltr"><div>(Disclaimer: I happen to work for Oracle but this has nothing to do with my job.)</div><div><br></div><div>I have been having trouble double-clicking things with my Apple Magic Mouse on my M1 Mac when running (Swing-based) Netbeans (see <a href="https://github.com/apache/netbeans/issues/8609">https://github.com/apache/netbeans/issues/8609</a> and the inciting discussion at <a href="https://github.com/apache/netbeans/discussions/8580">https://github.com/apache/netbeans/discussions/8580</a>). 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.</div><div><br></div><div>At any rate, the XWindows toolkit has this: <a href="https://github.com/openjdk/jdk/blob/master/src/java.desktop/unix/classes/sun/awt/X11/XWindow.java#L71-L75">https://github.com/openjdk/jdk/blob/master/src/java.desktop/unix/classes/sun/awt/X11/XWindow.java#L71-L75</a></div><div><br></div><div>But perhaps (?) the analogous Mac OSX area does not: <a href="https://github.com/openjdk/jdk/blob/master/src/java.desktop/macosx/classes/sun/lwawt/macosx/CPlatformResponder.java#L71-L79">https://github.com/openjdk/jdk/blob/master/src/java.desktop/macosx/classes/sun/lwawt/macosx/CPlatformResponder.java#L71-L79</a> and it seems like this might result in the observed behavior.</div><div><br></div><div>Is this a bug or works-as-it-does?</div><div><br></div><div>Best,</div><div>Laird</div></div>