On Fri, 7 Jul 2023 17:07:55 GMT, Andy Goryachev <ango...@openjdk.org> wrote:
>> Prasanta Sadhukhan has updated the pull request incrementally with two >> additional commits since the last revision: >> >> - Set stage scale in FX thread >> - Set stage scale in FX thread > > modules/javafx.swing/src/main/java/javafx/embed/swing/JFXPanel.java line 644: > >> 642: stage.setRenderScaleY(scaleFactorY); >> 643: } >> 644: }); > > [question] > could there be race condition between sendResizeEventToFX() and > stage.setRenderScale() since we now have two different threads operating? I dont think so as we have similar call on FX thread in setScene() without any race issue... ------------- PR Review Comment: https://git.openjdk.org/jfx/pull/1171#discussion_r1256156012