How to retrieve the text labels in JavaFX controls before internationalisation

I am making a JavaFX application where the content is loaded from JXML. I am now at the point where I am trying to change the language of the components dynamically without reloading the entire scene. I have seen this answer which created an observable ResourceFactory, which is exactly what I'm looking for, however it relies on having the keys for the controls available to look up the internationalised text from the resource bundle.

How can I get the raw key from say a Button or a Label that is loaded...

Read More »

By: StackOverFlow - Friday, 20 July

Related Posts