rob42
07/18/2024, 10:52 AMWindowState
only contains coordinates with no "display" that they are relative to.Alex Styl
07/18/2024, 12:08 PMAlexander Maryanovsky
07/18/2024, 12:32 PMwindow
and use that.rob42
07/18/2024, 2:09 PMWindow.graphicsConfiguration.device
has the right information, it's just not observable since it's not part of Compose 😞
It also seems like even if you have the GraphicsDevice
from that, Swing offers no way to move a window between screens, other than Window.setLocationRelativeTo(Component)
, which isn't really ideal.
It'd be great if WindowState
(or WindowPosition
) had a display
field on itAlexander Maryanovsky
07/18/2024, 2:12 PMephemient
07/18/2024, 4:17 PMrob42
07/19/2024, 8:32 AMAlexander Maryanovsky
07/19/2024, 8:33 AMrob42
07/19/2024, 8:34 AMrob42
07/19/2024, 8:35 AMrob42
07/19/2024, 8:44 AMAlex Styl
07/19/2024, 8:52 AMrob42
07/19/2024, 10:43 AM