> In general you cannot use java to add new input
> devices. The input device needs a native driver.
Thank you, very interesting,
How about if the computer does have a native driver, I mean the current application(not in Java) that the computer uses can already accept finger touch action from the screen, can Java do anything with it?
You see, I am good on Java and want to change that application.
Tim
> How about if the computer does have a native driver,
> I mean the current application(not in Java) that the
> computer uses can already accept finger touch action
> from the screen, can Java do anything with it?
What do you mean by 'do anything with it?'
Java should just see these events as MouseEvents. If what you're asking about is can java implement a device driver or can I use java to change the way a device driver works without native code the answer is no.
Java was created to work on a higher level and to leave these details to the OS.
>
> You see, I am good on Java and want to change that
> application.
>
> Tim
> What do you mean by 'do anything with it?'
>
> Java should just see these events as MouseEvents. If
> what you're asking about is can java implement a
> device driver or can I use java to change the way a
> device driver works without native code the answer is
> no.
>
> Java was created to work on a higher level and to
> leave these details to the OS.
>
You are the expert! Thank you.
I should really have asked, can I code directly in Java and capture the finger action as MouseEvents and assuming that the required device driver is there to interact with my MouseEvents?
Tim
I have recently created an application that ran on a touch screen system. I used the normal mouse events attached to the swing components (onClick) and these were translated by the touch screen. Typically I created a calculator type keypad, touched the screen on the text box where I wanted the data to appear and then pressed the keypad buttons to populate the field. No special drivers, just using swing components
Hope that helps