[Java] Button class not defined - use integer values or Java constants instead
Asked by
bevan dequeker
*** workaround ***
If anyone is interested, the integer values are:
Button.LFET = 16
Button.RIGTH = 4
Button.MIDDLE = 8
or
from java.awt.event import InputEvent
for LEFT: InputEvent.
for MIDDLE: InputEvent.
for RIGHT: InputEvent.
-------
I need to use
mouseDown(
in Java
But I can't find the Button class. Does it exist?
Note: It's working by using the integer values directly (easily visible in Python),
But still curious about the Button class.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- RaiMan
- Solved:
- Last query:
- Last reply:
To post a message you must log in.