How can I simulate user interaction (key press, mouse click) on a component?

John Zukowski

The 1.3 Java release includes a Robot class to generate low-level native mouse / keyboard input events at the operating system level.

The other alternative is to call postEvent() of the EventQueue class.

0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact