Many thanks teddybear nice and simple as clear water.
The struggling was here
Compiling generated Java code. Error
src\b4j\example\main.java:319: error: non-static variable this cannot be referenced from a static context
ba.raiseEventFromUI(this, EventName.toLowerCase(BA.cul));
public static void animeRotation(ImageView card){
Animation Anime = animeRotator(card);
Anime.setOnFinished(event -> {
//this code runs when the animation is complete
//System.out.println("END ANIMATION");
String EventName="Animation_Finished";
ba.raiseEventFromUI(this, EventName.toLowerCase(BA.cul));
});
Anime.play();
}