Proposal: Deprecate Builders

Tom Schindl tom.schindl at
Thu Apr 4 04:25:16 PDT 2013

On 04.04.13 13:07, Werner Lehmann wrote:
> Hi Tom,
> On 04.04.2013 12:52, Tom Schindl wrote:
>> What I wanted to highlight is that while FXML could deal with the
>> fx-classes, it can't know what class I defined and it needs a way to
>> create instances of them, until today I could provide my custom builder
>> to it.

The problem is that if MyClass e.g. extends Pane I'm going to be in 
trouble because I'd have to use deprecated code. Until you have not a 
replacement to all problems a technology is solving you can't deprecate it.

Clearly there are options, for the FXML code the builder had the 
advantage that the FXML-Code didn't had the hold the logic if something 
was a constructor-only or generally property because it could simply run 
everything through the builder, now it needs to stack up things itself.


More information about the openjfx-dev mailing list