« Open GeoCode API for Postcodes | Main | Twitter Bot - Zork Game »
Tuesday
Jun022009

Mac Java Webstart Multitouch SwingTest

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. :)

Reader Comments (13)

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

August 13, 2009 | Unregistered CommenterJosh Marinacci

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

August 13, 2009 | Unregistered CommenterWayne Keenan

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.

August 14, 2009 | Unregistered CommenterJosh Marinacci

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

August 14, 2009 | Unregistered CommenterWayne Keenan

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

So please watch /that/ space :)

August 16, 2009 | Unregistered CommenterWayne Keenan

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!

September 6, 2009 | Unregistered CommenterChris

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

September 11, 2009 | Unregistered CommenterWayne Keenan

<p>A new webstart has been uploaded. Confirmed to work on 10.5.8 & 10.6.6</p>

September 21, 2009 | Unregistered CommenterWayne Keenan

Hi Wayne,

I am looking to get raw touch data from my Magic Trackpad to use in Flash for the new Touch Events classes. As you well know the drivers fir that device do not broadcast raw touch data and I haven't found an easy answer to this problem yet. Would your solution possibly broadcast the events needed? I am not proficient with Java and am not certain if it's possible, would you know? I want to develop applications like this example: http://gotoandlearn.com/play.php?id=122

Any insights appreciated, thanks!

December 14, 2010 | Unregistered CommenterHaukeg

I have fixed the webstart demo, it now works again.

@Haukeg I may get a chance this weekend to look at changing my Java API so the device id can be passed as a parameter at cosntruction time and handed down to thenative framework . Currently my code only uses device 0, Im guessing passing 1 (or another number) will pick the trackpad.

February 23, 2011 | Registered CommenterWayne

-diesel watches ukit has to be signed, I have only 'self signed' it; so you may,

September 5, 2011 | Unregistered CommenterAbeeelove

high replica omega constellation
quality ,low price, don't hublot swiss replica
miss it ...belive imitation swiss rolex
you can get it.watches box

November 27, 2011 | Unregistered Commenterswiss replica watches

PostPost a New Comment

Enter your information below to add a new comment.

My response is on my own website »
Author Email (optional):
Author URL (optional):
Post:
 
Some HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>