Positions a window on the center of the default screen device.
Executes a code block once after a given delay on the event-dispatch-thread.
Sets a component's minimum and maximum size to match the preferred size.
Sets the minimum and maximum width of a component.
Sets the minimum and maximum width of a component.
the width to use or -1
to query the preferred width instead.
Returns the maximum bounds a window should have on the default screen device.
Positions a window on the default screen device.
Positions a window on the default screen device.
the horizontal placement from 0.0 (left-most) to 1.0 (right-most)
the vertical placement from 0.0 (top-most) to 1.0 (bottom-most)
additional padding in pixels from the screen's margins. For example,
if horizontal is 1.0
and padding is 40
, the window will be
placed so that its right border is spaced 40 pixels from the right
margin of the screen.