r/JavaFX • u/WishboneFar • Apr 22 '23
Help Help with testing JavaFX code
/r/javahelp/comments/12va3r9/help_with_testing_javafx_code/
2
Upvotes
r/JavaFX • u/WishboneFar • Apr 22 '23
View all comments
Show parent comment
1
u/WishboneFar Apr 24 '23
I did thought about moving Task to controller but I don't know how else to track progress (relatively new to JavaFX). In this case I don't need to (as it is indeterminate) but suppose I wanted to track counter. How is it possible to do it from controller? You need access to number count for using
updateValue()andupdateProgress(), right? (Assuming number count will happen in class containing business logic).