setBounds
Resizes and moves the window to the supplied bounds. Any properties that are not supplied will default to their current values.
Note: On macOS, the y-coordinate value cannot be smaller than the Tray height. The tray height has changed over time and depends on the operating system, but is between 20-40px. Passing a value lower than the tray height will result in a window that is flush to the tray.