Duplicate :
|
|
Relates :
|
The Robot.mouseWheel docs should define the direction in terms of moving the wheel away from the user (positive) or towards the user (negative) in order to match the AWT docs, and for better clarity. Here is the AWT description for comparison: wheelAmt - number of "notches" to move the mouse wheel: negative values indicate movement up/away from the user, positive values indicate movement down/towards the user.
|