I'm working with the robot class. I want to push the right mouse button virtually, and for a Robot instance r, I can say:
There is MouseEvent.BUTTON1, MouseEvent.BUTTON2 and MouseEvent.BUTTON3. Which does each of these actually correlate to on a mouse? 1=left and 2 = right?Code:
Also, how do I virtually press the application key (between ctrl and alt right side)? Seems to be the one key I can't use.
Can't find this basic bit of vital info online elsewhere... thanks for helping