'Multi Touch Gestures in Java / Swing / AWT and Java 17

How can I detect multi touch gestures like pinch / rotate / swipe etc. in a modern Java, like Java 17?

All com.apple.eawt.... classes have been removed from the JDK.



Solution 1:[1]

Posed the same question 4 years ago, and found some hints and clues and got it working, see What replaces GestureUtilities in Java 9

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Hamish258