sialcasa / mvvmFX

an Application Framework for implementing the MVVM Pattern with JavaFX
Apache License 2.0
484 stars 105 forks source link

Can we use this library without fxml library? #616

Open lvxingtu opened 3 years ago

lvxingtu commented 3 years ago

Now fxml is a optional dependency for javafx, If I doesn't download fxml dependency, can I use this library safely?

JhonnySalles commented 3 years ago

I believe it is necessary to be downloading and adding javafx in to your project, I use java 11 and because of that I also need to export and open javafx to jfoenix in vm options

manuel-mauky commented 3 years ago

It's possible to use mvvmFX without FXML files but I'm not sure if it works without the dependency. The library itself is not using the module system (there is no module-info). The code to load FXML bases views and java-code based views is separated into different classes so I think it should work during runtime but I haven't tested it.