fuinorg / javafx-cdi-example

JavaFX with CDI example project
Apache License 2.0
4 stars 0 forks source link

Remove implementing Initalizable #1

Open pell-je opened 2 years ago

pell-je commented 2 years ago

It is implicitly marked as deprecated. Injecting the bundle and url is recommended to be done with @FXML annotation. And the FXMLLoader will call a no-arg initialize()

https://docs.oracle.com/javase/8/javafx/api/javafx/fxml/Initializable.html

I think the goal of this repo is awesome. 👍 JavaFX 🙂

I can submit a PR if you are accepting external input.

michael-schnell commented 2 years ago

Thanks for the hint. I wasn't aware that it was deprecated.

I can submit a PR if you are accepting external input.

Of course. Please go ahead.