public class GuiUtilities extends ContainerUtilities
| Constructor and Description |
|---|
GuiUtilities() |
| Modifier and Type | Method and Description |
|---|---|
static void |
center(Window window) |
static void |
centerToScreen(Window window) |
static Component |
createGap(int width,
boolean isElastic) |
static Point |
getCenterToScreenLocation(DisplayMode displayMode,
Dimension size) |
static void |
invokeAndWait(Runnable runner) |
static void |
invokeLater(Runnable runner) |
getParentFrame, getParentWindowpublic static void center(Window window)
public static void centerToScreen(Window window)
public static Point getCenterToScreenLocation(DisplayMode displayMode, Dimension size)
public static void invokeLater(Runnable runner)
public static void invokeAndWait(Runnable runner)
public static Component createGap(int width, boolean isElastic)
Copyright © 2007–2019 Andreas W. Bartels. All rights reserved.