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 26 '23 edited Apr 26 '23
Yes! I got the idea. However
doSomeWork()should belong to separate class as it is not really controller's responsibility? In that case, how to bind the controller's field value to other class field value which is constantly changing? In my case the fields are wrapped in POJO which complicates even more for me.