As a developer, I would expect that Swing components embedded in an FX SwingNode should inherit the node orientation (both initial and also the runtime changes) of the parent Scene and/or parent SwingNode. (Perhaps a listener to the SwingNode's nodeOrinetation property needs to be added that does applyComponentOrientation to its content).
Instead, the swing components appear to be mirrored (including the text in JTextArea).
To reproduce, run this code and click on 'right-to-left (FX Scene.NodeOrientation) checkbox.
(this issue might be related toJDK-8317836)
Instead, the swing components appear to be mirrored (including the text in JTextArea).
To reproduce, run this code and click on 'right-to-left (FX Scene.NodeOrientation) checkbox.
(this issue might be related to
- relates to
-
JDK-8317836 FX nodes embedded in JFXPanel need to track component orientation
- Resolved