robot class mouseWheel not working

ethelljek

New Member
I have been working with simulating mouse events with the Robot class for a while, and all was well, until I tried to scroll using the mouseWheel function. I just have this simple line:\[code\] Robot robot = new Robot(); robot.mouseWheel(-100);\[/code\]I have been trying variations of this for a long time, and the program runs, does nothing, then terminates normally. Can someone shed light on why this is?Thanks!
 
Back
Top