I’m using a JFrame in Java, and was wondering if it was possible to detect when a user in OS X used the trackpad in a horizontal scrolling or zoom gesture. I’m making something that looks similar to Audacity, and navigation could be much more fluid if the user could use those trackpad features rather than the arrow keys!
Share
You most likely will not have direct access to hardware/platform dependent stuff in plain old Java…
Take a look at the two answers on Java trackpad 2-finger scroll listener