amit priyadashi
amit priyadashi

Reputation: 9

onscreen keyboard

i want to make a onscreen keyboard in java but the problem is when the focus is lost how can we send the keystroke on another application through my java proogram

Upvotes: 0

Views: 285

Answers (1)

Eugene Yokota
Eugene Yokota

Reputation: 95624

It would depend on the platform of your hardware and the target application. For example, if you are writing a Java program that sends key strokes to a Windows application, you could probably use Windows messages via JNI. For native applications on devices like mobile phones, you might have to go down to lower level API of the device.

Upvotes: 1

Related Questions