Re: RFR: JDK-8222209: Repaint properly when JFXPanel moves to another screen

2023-07-29 Thread Kevin Rushforth
On Fri, 28 Jul 2023 09:26:35 GMT, John Hendrikx wrote: > Alternative fix for JFXPanel issues. > > I added an extra line to **really** trigger the repainting in > `EmbeddedScene`. This was inspired by this code in `GlassWindowEventHandler` > which reacts to `WindowEvent.RESCALE`. It not only

RFR: JDK-8222209: Repaint properly when JFXPanel moves to another screen

2023-07-28 Thread John Hendrikx
Alternative fix for JFXPanel issues. I added an extra line to **really** trigger the repainting in `EmbeddedScene`. This was inspired by this code in `GlassWindowEventHandler` which reacts to `WindowEvent.RESCALE`. It not only calls `entireSceneNeedsRepaint` but also `updateSceneState`. Snip