Jun 02

Last night I packaged the Java Multitouch SwingTest into a Java WebStart (JNLP) deployment that can be launched from here.

As the package contains a native library it has to be signed, I have only ’self signed’ it; so you may, or may not, wish to accept my certificate.  But acceptence is required in order to run the demo as the native library is needed to register with the MacOSX Multitouch Event handler.

Have fun. :)

9 Responses to “Mac Java Webstart Multitouch SwingTest”

  1. Josh Marinacci Says:

    wow, this is insanely cool. How usable is your API? Any plans to open source it?

  2. Wayne Keenan Says:

    Hi, glad you like it :)

    I was seeing if there was any interest as other things had taken priority. I will put it on github or something like that when I get a moment.

    All the best
    Wayne

  3. Josh Marinacci Says:

    I recommend Kenai.com and Mercurial, but that’s just my own preferences. I tend to use Mercurial for everything these days. Could you give me a code dump to play with? I want to try hooking it up to a JavaFX scene.

  4. Wayne Keenan Says:

    Hiya, ok no problem, one way or another I will get the source over to you during the weekend.

  5. Wayne Keenan Says:

    I have intially created a placeholder project on Kenai here: http://kenai.com/projects/macmultitouch

    So please watch /that/ space :)

  6. Wayne Keenan Says:

    The code is now published at: http://kenai.com/projects/macmultitouch/sources/source-code-repository/show

  7. Chris Says:

    Great to see some movement in the java+multitouch area!
    Have you checked out MT4j yet?
    Its a open source java framework tailored to developing multitouch applications.
    http://www.mt4j.org
    Keep it up!

  8. Wayne Keenan Says:

    Unfortunately the orginal demo doesnt work on Java 6 (but only Java 5) as its 64 bit and the JNI lib was built to be only 32.

    After upgrading to Snow Leopard and finding only Java 6 I have an untested universal 32/64 binary.

    Unfortunately, and expectedly, the use of the undocument API fails with a seg fault.

    Snow Leopard does come with a publish Multi-touch event API and I need to look into supporting i in the JNI library

    https://developer.apple.com/mac/library/documentation/AppKit/Reference/NSTouch_Class/Reference/Reference.html

  9. Wayne Keenan Says:

    A new webstart has been uploaded here and source/binary to the project on Kenai that contains pre-compiled Java, native 32bit/64bit libraries and JNI/Cocoa Framework API fixes for Snow Leopard. Confirmed to work on 10.5.8, 10.6.0 & 10.6.1

Leave a Reply