How to know in which monitor is my component

Hi, I’d like to store bounds mapped in 0-1 as properties in a ValueTree structure (there is some good method to do this without to many jmap?) and in this ValueTree I’d like to store a property screenIndex.
After I’d like to recall those properties to restore my window (is setBoundsRelative the method that could do this? how to place my window on desktop?)

really thank you!

Take a look within ResizableWindow at getWindowStateAsString() and restoreWindowStateFromString(), they seem to do what you want.

1 Like

I’s perfectly what I needed! thank you!

1 Like