Hi Reviewers, Problem: Double tap generates WM_LBUTTONDOWN, WM_MOUSEMOVE, and WM_LBUTTONUP messages in response to actions on a primary touch point. [Which is document here](https://learn.microsoft.com/en-us/windows/win32/api/winuser/ns-winuser-touchinput).
Solution: Skip drag/mouse move in case of touch and withing delta. Please review and let me know your suggestions. Regards, Renjith. ------------- Commit messages: - 8178361: JFileChooser does not allow to open folders by a double tap on a touch screen Changes: https://git.openjdk.org/jdk/pull/30450/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=30450&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8178361 Stats: 10 lines in 1 file changed: 9 ins; 0 del; 1 mod Patch: https://git.openjdk.org/jdk/pull/30450.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/30450/head:pull/30450 PR: https://git.openjdk.org/jdk/pull/30450
