Multi-touch in java

Hi,
I am trying to build a project with multi-touch capabilities using java. I did some research and thought mt4j is promising.
But now I find it difficult to design a page with swing radio buttons and buttons etc., I want to use swing components such as Radio buttons with mt4j framework but I couldn't accomplish it.
Can you please let me know if there is a way to develop a multi touch application in java using swing alone or any other good way of developing multi-touch features .

how can we pass arguments to the run ()method?Create classes which implement Runnable that take your runtime parameters as constructor arguments and store them.
eg: if your single thread method is   static void foo (int quantity, String name) {
    for (int i=0; i<quantity; i++) {
      System.out.println(name);
// caller code
  foo(7, "wombats");Then you can make a runnable implementation thus:public class Foo implements Runnable {
  final int quantity_;
  final String name_;
  public Foo (int quantity, String name) {
    quantity_ = quantity;
    name_ = name;
  public void run () {
    for (int i=0; i<quantity_; i++) {
      System.out.println(name_);
// caller code
  new Thread(new Foo(7, "wombats")).start();
You could overload this method to take parameters in
your class that implements the Runnable interface,
and then call the base run() method.I don't get what you mean by this; Runnable is an interface so there is no base class run() method, and a run() overloaded with extra parameters method wouldn't get called by the thread.
Pete

Similar Messages

  • Java FX Multi-Touch

    Hi,
    I'd like to know if java fx 2.1 already support multi-touch..?
    If not when can I expect or what release/version of java fx will
    the multi-touch capability be included..?
    Edited by: user5523642 on Jun 20, 2012 8:09 PM

    I'd like to know if java fx 2.1 already support multi-touch..?No
    If not when can I expect or what release/version of java fx will the multi-touch capability be included..?2.2
    http://www.oracle.com/technetwork/java/javafx/downloads/devpreview-1429449.html

  • Multi-Touch Trackpad in Windows 7 Pro x64

    Macbook Pro Unibody
    OSX 10.5.8 (Leopard)
    Windows 7 Professional 64-bit
    Bootcamp 2.1
    Trackpad Update 1.1
    Just upgraded my Boot Camp partition from Win XP x32 to Win 7 x64. Or rather, I did a clean install, not an upgrade. I'm running all of the above listed stuff. Muti-Touch isn't working on the tack pad, so I don't have RMB functionality and I'm really missing two finger scrolling.
    Also, looking in the Boot Camp Control Panel, I don't appear to have any trackpad options, even after installing the trackpad update. I just tried installing it again, and I get a message saying that it won't update my drivers for the tackpad because what I'm trying to install isn't better than what I already have. That's all well and good, but the pad still isn't working with multi-touch.
    Any helpful suggestions are appreciated. Thanks in advance.

    I didn't do anything proactive to get it to work, just the things I mentioned above. Installed Boot Camp 2.1, installed the Trackpad 1.1 update, uninstalled Boot Camp 2.1, Installed Boot Camp 3.0. Side scrolling just started working.
    The only thing that's a tad finicky is multi-touch RMB. It works, more or less, but, for example, if I RMB on a bookmark in Firefox to access it's properties (let's say I want to rename it), I have to hold my two fingers down in the click position as as I move the cursor into the conext menu. Otherwise it will launch the bookmarked page. So you can't just two-finger-click on something to evoke a context menu, let go, then use one finger to navigate to the option you want, which is how I would expect it to work.
    Message was edited by: dustinbrown

  • Multi-touch display is not functioning as normal

    multi-touch display is not functioning as normal on the right half of the screen....

    Hi James,
    Thx for the quick reply...
    I have already tried most of these troubleshooting steps but no go....
    Also, when you tap or use only the right half of the screen, the touch display is inconsistent and makes a wierd sound [ like a hollow tub or something ] and it's not a cosmetic issue...
    ----Apple store / Authorized Service Center is still working on this ongoing issue with no results and still not confirming for the iphone replacement...Thnx..

  • Multi touch screen fix

    Multi touch screen needs calibrated on iPhone 4S.  Anyone know how this is done. 

    No such thing as calibrating your display.  If restoring your phone as a NEW device (not using backup at all) doesn't resolve your issue, you'll need to take your phone in to Apple for evaluation.

  • Keyboard and Multi-Touch trackpad may become unresponsive on MacBook Pro (Retina, 15-inch, Late 2013)

    Folks,
    I have exacly same sympton described here on my 5 day old 15 inc macbook pro.
    http://support.apple.com/kb/TS5296
    MacBook Pro (Retina, 13-inch, Late 2013): Keyboard and Multi-Touch trackpad may become unresponsive
    Has anone tried to apply this patch on 15 inc ?
    Kind Regards,
    Neroshige

    The patch is only for MBP late 2013 13 inch. 15 inch is not able to install this patch
    I'm facing this problem intermittently.
    When my keyboard & trackpad went unresponsive, I plug in my USB keyboard and the keyboard & trackpad went back normal.
    I search the web and somebody highlight it may due to connector to keyboard/trackpad appear to be curled.
    Not sure is hardware problem or software bug...

  • When do we get 32 Bit Multi touch Drivers? (Windows 7)

    Computer: HP TX2z
    Operating system: Windows 7 Home
    I am a little frustrated that over six weeks after the release of the 64 Bit drivers for our multi touch screens there is still nothing available for us 32 bit users. All I see is comments that they will be released "soon". 
    I was using the RC of Windows 7 and the Beta N-trig drivers and they worked perfectly together.  It was a really fantastic machine to use - with smooth scrolling within web pages and zooming.  On the weekend I bought and upgraded to Windows 7 Home and I have been left with a very bitter taste in my mouth.  There are no longer any N-trig drivers to support windows 7 - not even beta. 
    I am currently running the Vista drivers in compatability mode.  These drivers do not work with most programs - meaning that while I can pinch to zoom in photos, I can scroll in IE8. 
    When should we expect drivers?

    I used a moblitymodder to fix this problem and installed the 10.6 ATI catalist. That fix it. plus I got alot better graphics and performance for my games.

  • W510 Multi Touch Display Driver NOT installing properly on a fresh Windows 7 Professional Image.

    Hello everyone, this is my first post here and I will make it as short as possible. First, thanks in advance for taking the time to read this and helping me out in any way possible.
    I have a fairly new W510 machine with a crucial 256GB SSD in it. My SSD crapped out (luckily I had a back up) crucial sent me a new one and I just imaged the new drive a couple of days ago with my backup (The backup is made from the original Lenovo install). However during the imaging some Windows components were damaged for some reason (perhaps due to the previous drive crapping out). The only fix was to go ahead and use the retail windows 7 Pro DVD to "repair" the windows installation by clicking the "upgrade" button after inserting the disk. --As Microsoft suggested this to fix an existing win 7 installation. After I did that EVERYTHING worked flawlessly! I was really happy with the machine, it booted in 30 seconds and what not. However, the multi touch driver for my W510 screen will not stick ... no matter how many times I install it, as soon as I "log out" of the machine, the driver rolls back to a normal pointing device and multi touch is disabled and my on-screen keyboard vanishes. It is the weirdest thing I've ever seen. Here is exactly what I'm doing.
    1 - Log into my Admin user account
    2 - Install this: http://support.lenovo.com/en_US/detail.page?LegacyDocID=MIGR-74908
    3 - Multi Touch works great!
    4 - Logoff or Lock machine or put it to sleep.
    5 - Log back in my admin user account
    6 - Touch screen works but all multi touch features are now disabled (As in no pan/scroll no pinch to zoom no nothing) the touch screen simply works as a simple mouse (point and click).
    7 - Install the driver again (mentioned in step 2) --Again everything works great.
    8 - Repeated 3 to 7 ... Forever …
    I tried completely removing the driver and re-installing it from scratch, I tried getting the raw ISD-V4 (W510's screen driver) directly from Wacom (works too) but again the minute I Logoff or lock that machine, the driver just rolls back or goes back to a normal pointing device. It is really weird that this is happening. The touch screen always worked well and I never had any problems with it. Also in device manager nothing has changed, it seems that everything is in good shape there.
    My W510 specs:
    - Intel Core i7 Extreme X920
    - 16.0 GB DDR3 RAM (G-Skill)
    - 256 GB Crucial M4 SSD
    - No GOBI 2000 Card.
    - Intel WiMax Installed and Enabled.
    - CD-ROM Drive in UltraBay
    - Cam / Fingerprint Reader / Color Sensor / Smartcard Reader / Expansion all installed
    - Windows 7 Professional SP1
    It seems that Windows is somehow defaulting to a different "driver" that is over-riding the multi-touch driver I download and install when I log off. Do I need to install the driver outside my user account? Or is there a method to erase the default drivers or something? I am trying to avoid re-imaging this machine from scratch using the provided Lenovo Windows Partition. I just have too much development software on it, some of which will take me forever to re-install and re-configure.
    Any help is appreciated.
    Thanks!
    Al.
    Solved!
    Go to Solution.

    Hi
    Please update  the monitor driver
    http://support.lenovo.com/en_US/downloads/detail.page?DocID=DS015012
    Hope This Helps
    Cheers!!!

  • How many Multi-Touch points can an iPhone/iPod touch have at the same time?

    How many Multi-Touch points can an iPhone/iPod touch/iPad have at the same time?
    I am curious as IIRC (but forgot where the article is on the Internet),
    if a touch surface is wanted to be able to detect more than 1 touch point at the same time,
    then that touch surface needs adding 1 more conductive(?) layer.
    (e.g. 2 points -> 2 layers, and so on)
    So I wonder how many these layers are on the iPhone / iPod touch / iPad or even the trackpad on every MacBook (Pro).
    (correct me if I'm wrong)
    Just curious, thanks in advance!

    I believe it can only support 2. This article explains how the touch screen works but doesn't explicitly say how many points is supports.
    http://electronics.howstuffworks.com/iphone1.htm

  • How to - enable - multi touch - in windows 7 ultimate - for my G560 touchpad

         I and my friend have the lenovo G560 laptops. I am running windows 7 ultimate and my friend is running ubuntu 11.04 OS in our laptops.
    In Ubuntu: The multi touch is enabled by default for the laptop touch-pad. For vertical scrolling, we can use two fingers to navigate.
    In Windows 7 Ultimate: I don't know how to enable this multi-touch feature.
    Your help is very much appreciated.
    Thanks in advance.

    control panel > hardware and sound > mouse > mouse properties > device settings > settings ( if you have synaptic mouse )
    if you don't synaptic, check the mouse properties to enable/disable the features you'd like to.

  • IOS 8.0.2 problem with 5-finger multi touch

    I use an iPad 2, and since i updated it to 8.0.2 the multi touch task (like closing an app or switching between apps) doesnt work most of the time.
    And native keyboard works poorly too.
    Am i the only one having these issues?

    Hello doggerelgus,
    The article linked below details a numbrer of troubleshooting steps that can help resolve issues with apps on your iPhone.
    iOS: An app you installed unexpectedly quits, stops responding, or won’t open
    http://support.apple.com/kb/TS1702
    Cheers,
    Allen

  • Photoshop CC 2014 Multi touch pinching, panning and rotating working, but no tapping!

    Hi,
    I have installed today PS CC 2014, the Adobe team done a great job, multi touch is great, big buttons is great on my Vaio 13, and all is nice.
    But guess what, I can't click (Single regular tap) with touch, I only can do it with a mouse or pen.
    Now, I'm happy to hear the news and went ahead and ordered a 23 inch touchscreen from Acer, that touch screen doesn't support pen input, so I would love to have my single touch tap enabled on it.
    Any ideas what to do about single touch tap, or dragging the brush to draw?

    I'm just curios if there's the option available now or not yet.
    I'm not sure what's the benefits behind multi touch without being able to do a single touch or tap.
    Not all tablets or touchscreens do actually have a pen.

  • HT3986 Apple multi touch trackpad  problems on Windows 7 64 bit bootcamp

    After installing Windows 7 on Mac Pro (2011) double tap gesture on Apple mult touch tackpad does not work . Any ideas ?

    Yes I did that but although the trackpad worked it did not respond to the  tap rather than left clicking  - After posting the query I discovered, following a search of how to switch operating systems, that 'Control Panel/Bootcamp'  revealed adjustments that can be made to the trackpad & it now works - Thanks for you help anyway.

  • Support for Multiple Multi-Touch Screens

    hello,
    I have written some code that implements the multi-touch and it has been working fine with just one multi-touch screen.  However, someone using my program with 2 multi-touch screens hooked up is getting no input from the second device.  I did not
    see anything documentation referring to more than one multi-touch device, although the existence of hSource in the TOUCHINPUT structure would imply multiple devices are supported.  After searching the forums, I found this post
    http://social.msdn.microsoft.com/Forums/en-US/tabletandtouch/thread/9c11871d-945c-4f7b-bdaa-a1b1452959b8/
    in which someone stated that 2 multi-touch monitors should work fine, but not with simultaneous input.  Since the post is almost 2 years old, I am wondering if anything has changed, and whether this might be the problem my user is having.  Or is
    there some way to tell if it is a driver issue?  I am not using the gesture library, just retrieving data with GetTouchInputInfo.  I'll appreciate if anybody can point me to documentation or mention their experiences with multiple devices.
    thank you.

    thank you for your quick reply.  I have gotten a few more details and the problem is not the scenario you suspected.  They are using 1 window spanning 2 multi-touch monitors.  The problem does seem to be related to simultaneous input.  If
    they have a finger down on the first monitor, my program does not receive any events from the second monitor.  If they are not pressing down on the first monitor, the input from the second monitor comes through.
    Does Windows 7 support simultaneous input from 2 or more multi-touch monitors?  Is there something I have to do so that my program will work correctly?  Or are there driver specific issues, and if so, where can I get help for that?
    thank you.

  • Can you use Mac OS X Lion multi touch gestures in Firefox?

    On Wednesday, Apple release the new OS X Lion and there are now Multi Touch gestures using the trackpad. I am able to use those gestures in Safari, but I was wondering if there is a way I can use the multi-touch gestures in Firefox.

    This appears to be a problem firefox are aware of and are working on, and with some possible workarounds, see also thread: ''"Back/Forward Gestures do not work in Mac OS X Lion" '' -> [/questions/853020]

Maybe you are looking for

  • How to debug a RFC function module remotely from another R/3 system?

    Hi experts,    I have RFC function module in one R/3 system. I am calling this from another R/3 system that is cross apps (Xapps).    This function module is Synchronous.   Is it possible to debug this function module from cross apps?   Can somebody

  • Adobe Form Calling WebService Doesnu00B4t work with Adobe Reader 7

    Hi experts, We have created and adobe form that simulates a PM Notification in which the user, without logging into SAP, through an RFC and WebServices can create the notification into SAP. This process only works with Adobe Reader 9 and not with Ado

  • Regarding jdbc scenario

    hi friends plz find my error "Error while parsing or executing XML-SQL document: Error processing request in sax parser: No 'action' attribute found in XML document (attribute "action" missing or wrong XML structure)".

  • How do you make the project bin window Not come up in quick edit?

    How do I get the Project Bin to Not automatically come up when I press Quick edit in Photoshop Elements 9?

  • ReqDate field in OINV

    Hi Experts, Can anyone tell me about the ReqDate field in the Invoice table OINV. What date appears in this field? Under which circumstance does ReqDate field contain value? (ReqDate acepts NULL) Please help Thanks in Advance Jaics