public class JavaConsole
extends java.lang.Object
Constructor and Description |
---|
JavaConsole() |
Modifier and Type | Method and Description |
---|---|
static void |
centerWindow(java.awt.Window window)
Centers a window on the screen so that it is horizontally in the center,
vertically one third from the top.
|
static void |
openConsole(boolean showConsole) |
static void |
openConsole(boolean showConsole,
boolean forceFront,
boolean toggle) |
public static void openConsole(boolean showConsole)
public static void centerWindow(java.awt.Window window)
window
- the window to center.public static void openConsole(boolean showConsole, boolean forceFront, boolean toggle)