How do I include multiple FXML files in one project?

This page summarizes the projects mentioned and recommended in the original post on reddit.com/r/JavaFX

Our great sponsors
  • OPS - Build and Run Open Source Unikernels
  • Scout APM - Less time debugging, more time building
  • SonarQube - Static code analysis for 29 languages.
  • GitHub repo scalaonandroid

    A tutorial and examples of how to write Android apps in Scala 2.13 and Scala 3.

    In my case, I put them as separate files in the resources/ folder, like here with main.fxml and history.fxml. And then I load them separately in the code:

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts