I developed an application in JavaFX that supports the English and Arabic languages.
Support for both languages works fine in NetBeans, however, when I run the jar file, the Arabic language does not work (see the screenshot).
How can I fix this problem?
Note, the menu bar portion does work fine in the Arabic language because I have this line of code that uses the system menu bar.
final String os = System.getProperty("os.name");
if (os != null && os.startsWith("Mac")) {
myMenuBar.useSystemMenuBarProperty().set(true);
}