Tuesday
Jun022009
Mac Java Webstart Multitouch SwingTest
Tuesday, June 2, 2009 at 7:52AM 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. :)
Wayne |
13 Comments | in
multitouch
multitouch
Reader Comments (13)
wow, this is insanely cool. How usable is your API? Any plans to open source it?
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
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.
Hiya, ok no problem, one way or another I will get the source over to you during the weekend.
I have intially created a placeholder project on Kenai here: http://kenai.com/projects/macmultitouch
So please watch /that/ space :)
The code is now published at: http://kenai.com/projects/macmultitouch/sources/source-code-repository/show
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!
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
<p>A new webstart has been uploaded. Confirmed to work on 10.5.8 & 10.6.6</p>
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!
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.
-diesel watches ukit has to be signed, I have only 'self signed' it; so you may,
high replica omega constellation
quality ,low price, don't hublot swiss replica
miss it ...belive imitation swiss rolex
you can get it.watches box