0

I'm quite new in javafx. I am now making an application which has a settings page. Now i want to implement that settings on all of my pages. How can i do that? I've tried to use resource bundle but I've read that the data on it cannot be changed. I've already use preferences and it works on a single controller. But i don't know how to call it in all of my controllers.

lala lala
  • 11
  • 2
  • 2
    Just make a method in the controller that returns the data, and call it to retrieve the data... Hard to be more precise than that without seeing any code. – James_D Oct 13 '16 at 02:24
  • I can't. I need the data to remain even if i close my application. – lala lala Oct 13 '16 at 02:27
  • 1
    Then you will probably need to save it in some file or database and retrieve it on startup. – Hypnic Jerk Oct 13 '16 at 02:28

0 Answers0