Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- circle.setOnMousePressed(e->{
- if (animation.getStatus().equals(animation.getStatus().RUNNING))
- animation.pause();
- else
- animation.play();
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement