How to enter info from notebook touch pad with Java

473 Views Asked by At

I wonder if there is any sample Java program that shows how to get info from notebook touch pads, for instance if I want to develop a Java app that can get users' handwriting from the touch pad. It's like drawing with a mouse into a canvas, except I want to use my finger to enter info.

1

There are 1 best solutions below

1
On BEST ANSWER

if you're talking about the mouse pad on a laptop, you could just create a MouseMotionListener that tracks the mouse's location and creates an array of coordinates.