B4J Question call sub from java

Daestrum

Expert
Licensed User
Longtime User
I searched the forums, but I must have my stupid head on today, as none of the examples made sense to me.
I need a sub to be called from an actionevent in some java code.
I know it involves BA ba, but ....
Any help in making it clearer appreciated.

This is the code I want to call a sub from
B4X:
mi.setOnAction(new EventHandler<ActionEvent>() {

@Override public void handle(ActionEvent e) {

System.out.println(e + mm.getId());
*** just here***
}

});
 

Daestrum

Expert
Licensed User
Longtime User
Thank you all working now :)
 
Upvote 0
Top