Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Java Build a JavaFX Application It's About Time Completion Events

Konstantinos Pedarakis
Konstantinos Pedarakis
21,301 Points

Could we replace the last @fxml technique with a StringProperty technique?

hi,

in this video could we do the same thing on the message field, as we did with the timerText property?

i mean, if we can bind this on to our controller without the use of @FXML anotaion, but with the use of StringProperty as we did with timerText.

Thanks.

Tomas Verblya
Tomas Verblya
1,998 Points

You mean binding the TextField? I think Craig said that we can do that, but it might be overkill. I think that with the fx:id way of doing it it's more simple and straightforward.

Konstantinos Pedarakis
Konstantinos Pedarakis
21,301 Points

Hi,

yes i mean the TextField. i know that is sure a more straightforward thing, but i like to know both ways if they exist :)