1

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.

trainrobbery
  • 500
  • 3
  • 14

1 Answers1

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

Hamish258
  • 305
  • 2
  • 9
  • Updated the gist linked there to show how to retain cross-platform compilation https://gist.github.com/alanwhite/42502f20390baf879d093691ebb72066 – Hamish258 Jun 02 '22 at 20:36