This is a follow up question to this question:
JavaFX title bar RTL not supported?
I just learned how to localize the string in an app I'm building. The language I want to add support to is an RTL language.
Is the setNodeOrientation(NodeOrientation.RIGHT_TO_LEFT);
the formal way to support RTL? Do I need to check everywhere in my code my locale and then set the node orientation accordingly? And what if I use FXML for my layout and not Java code?
Isn't there a simpler way to support RTL and make the application automatically change the orientation to some controls of my choosing with setting a property or something and not using that setNodeOrientation
directly?