FXML Best Practices

Richard Bair richard.bair at oracle.com
Wed Dec 19 20:01:26 PST 2012


> I don't think this really merits a discussion. I was lazy. I think I'm entitled to being lazy :-)

I don't mean "this was a dumb question", but more that you shouldn't read anything into the approach I was using in the game. I like to do things different just for the heck of it some times to get a feel for different approaches. SceneBuilder's philosophy is simple: be the very best layout tool in existence. It is based on top of FXML and is not supposed to introduce any additional abstractions or concepts above and beyond what the platform already provides. Therefore, it simply maps on top of the existing FXML + Controller + Annotations concepts. If we add additional concepts into the core of FXML, then SceneBuilder will expose support for that too.

Which is what I meant when I said "it doesn't merit a discussion". I wasn't setting any new trend or anything. It was just something different for the heck of it.


More information about the openjfx-dev mailing list