Currently there is no way for JavaFX applications to easily be notified about changes of the input language and its direction. This might be implemented using the Platform Preferences API.
One possibility is to encode this information in an object with the following fields:
```
String languageName;
String languageCode;
enum Direction { LEFT_TO_RIGHT, RIGHT_TO_LEFT, VERTICAL } direction;
```
One possibility is to encode this information in an object with the following fields:
```
String languageName;
String languageCode;
enum Direction { LEFT_TO_RIGHT, RIGHT_TO_LEFT, VERTICAL } direction;
```
- relates to
-
JDK-8300569 ☂ Missing APIs related to rich text control
- In Progress
-
JDK-8301302 Platform preferences API
- Resolved