Swing components embedded in FX SwingNode need to track node orientation

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: jfx11, 8, jfx21, jfx22
    • Component/s: javafx
    • None

      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 to JDK-8317836)

            Assignee:
            Kevin Rushforth
            Reporter:
            Andy Goryachev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: