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 Design a Better App Separating the Layout

Gaspar Soto
Gaspar Soto
6,945 Points

How can use the elements created in fxml?

Hi everyone!

How can use the elements created in fxml?

for example if I want to use the label, the textField or Button created in the fxml document in the code how can do it?

thanks for help!

1 Answer

We'll see how to wire up the button in the next video, you should be able to take the skills from there and apply them to wiring up other fields, buttons and labels.