0

Can someone explain me how to integrate the model part of a program with a FXML-Controller? I'm new to FXML. So far, I tried to create a constructor for the controller and pass the relevant information as parameters but then I get the warning: "Class 'some_class' is not exported from module 'some_module'. If my logic part contains classes like Person, Room etc. how do I pass them to the controller? Could someone show me a simple example of how to do it? The example oracle provided in their documentation doesn't make it quite clear for me. Thanks in advance.

Ernest P W
  • 41
  • 5

0 Answers0