public class WindowUtils
extends java.lang.Object
| Constructor and Description |
|---|
WindowUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
centerOnScreen(java.awt.Window w)
Description of the Method
|
static javax.swing.JButton |
getWindowButton(javax.swing.JDialog window,
java.lang.String name) |
static javax.swing.JButton |
getWindowButton(javax.swing.JFrame window,
java.lang.String name) |
static javax.swing.JButton |
getWindowButton(javax.swing.JRootPane rootPane,
java.lang.String name) |
static void |
sizeTo(java.awt.Window w,
double x,
double y)
Description of the Method
|
public static void centerOnScreen(java.awt.Window w)
w - Description of Parameterpublic static void sizeTo(java.awt.Window w,
double x,
double y)
w - Description of Parameterx - Description of Parametery - Description of Parameterpublic static javax.swing.JButton getWindowButton(javax.swing.JFrame window,
java.lang.String name)
public static javax.swing.JButton getWindowButton(javax.swing.JDialog window,
java.lang.String name)
public static javax.swing.JButton getWindowButton(javax.swing.JRootPane rootPane,
java.lang.String name)