I want to create something like scenebuilder for worksheet documents and was wondering how i could allow my users to use custom components.
For that i would like to import fxml files that my users created and render the controls defined in them in my scene. Is there a way to load arbitrary fxml snippets as controls/views assuming they are correct fxml?
so i would write my app with some components coming with it and people could select fxml files from their file system to add it to their worksheet (something like a sudoku fram maybe or notesheet lines for example)
What would the code look like to import random fxml snippets into a view (lets say a simple pane) and have them rendered properly? What prerequisites would the fxml have to fullfill for it to work?