public class MainScreen
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static void |
centerTopWindow(java.awt.Window win)
Center the window at the top of the main screen.
|
static void |
centerWindow(java.awt.Window win)
Center the window on the main screen.
|
static java.awt.Rectangle |
mainBounds()
Returns the bounds of the main monitor device.
|
public static void centerWindow(java.awt.Window win)
public static void centerTopWindow(java.awt.Window win)
public static java.awt.Rectangle mainBounds()