Dear friends, please,
I am using Java 11 and I have code:
- When I am running app in B4J then everything is functioned
- but when I have stand alone package, then cursor is not moving
Why please? Where I am doing mistake?
Best regards
p4ppc
I am using Java 11 and I have code:
B4X:
Yes in B4J / No function in standalone:
robot.InitializeNewInstance("javafx.scene.robot.Robot", Null)
robot.RunMethod("mouseMove", Array As Object(x,y))
Yes in B4J / No function in standalone:
Private robot As JavaObject
Dim jo As JavaObject
jo.InitializeStatic("com.sun.glass.ui.Application")
robot = jo.RunMethodJO("GetApplication",Null).RunMethodJO("createRobot",Null)
Dim x As Double =123
Dim y As Double =100
robot.RunMethod("mouseMove", Array As Object(x, y))
Yes in B4J / No function in standalone:
x=205
y=200
Dim robot As JavaObject
robot.InitializeNewInstance("javafx.scene.robot.Robot", Null)
robot.RunMethod("mouseMove", Array As Object(x, y))
- When I am running app in B4J then everything is functioned
- but when I have stand alone package, then cursor is not moving
Why please? Where I am doing mistake?
Best regards
p4ppc
Last edited: