...and they shall know me by my speling errors.

Danno Ferrin (aka shemnon) on stuff that matters to him.

A Touch and Gesture JavaFX Demonstration

A few weeks ago my day job bought me a Surface Pro to help me prototype some future product work. Being a developer, you could probably guess the kind of software I installed on it. For the record I have yet to attempt to use stuff like the Finance and Travel App, and only opened the Maps app out of idle curiosity. The first thing I did was install JDK 8 and IntelliJ, so I could get down to business: figuring out how to best use touch screens and gestures.

To help me, I wrote a small sample app I called Touchy FXy. I did this so I could get a realtime feel of how the gesture events work. Basically it gives you graphic and textual feedback as you perform gestures on the main center area (the one with the helpful instructions).

One of the main reasons I wrote this is to get a feel for some of the quirks on the various platforms that JavaFX runs on. Already I have some issues in mind, but I want to get a good survey of the problem space before I propose anything. The reasons why some tasks are problems on one platform may have to do with other platforms.

So please, give this app a whirl, and leave me your comments. I am particularly interested in platforms I don’t have immediate access to, which basically includes a boring windows 7 laptop, a Surface Pro, and a MacBook air. How does this work on Ubuntu touch screens (do they even work?) How about RasPi touch screens? Fancy Wacom digitizers? Let me know in the comments below or mail me at danno.ferrin@shemnon.com, or leave a bug in the bitbucket project.

In case you are not interested in building this yourself, but do want to run it, I have the following packages on BinTray:

In case you are wondering, each executable package embeds Java 7u21.

Comments