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!

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 Build a Pomodoro App Explore Existing Code

Danilo ANRIA
Danilo ANRIA
1,571 Points

Regarding how much of this should I try to memorize

I took a course and html and css a while back. That was the moment where I realized that I was not good at design and that I wanted to worry about making things work. Here is my question. Should I spend time on trying to memorize the fxml code and css or is it enough to simply understand what is going on when I look at it and knowing what does what.

Danilo ANRIA
Danilo ANRIA
1,571 Points

BTW. I know fxml is not the same as Html, however knowing html made it kind of easier to follow along.

1 Answer

This won't help with design (fonts, colors, animations, etc), but you can use SceneBuilder to drag-and-drop your interface and it will generate your FXML file for you. The benefit of SceneBuilder is that you can see your changes in real-time without recompiling. SceneBuilder also has tons of built-in components like Accordion Menus and various charts for displaying data.

IntelliJ has built-in support for SceneBuilder as well (right click on your FXML file and select "Open in SceneBuilder").

Oracle stopped developing SceneBuilder, so another company, Gluon, has taken over development.

You can download it here: http://gluonhq.com/products/scene-builder/