com.l2fprod.util
Class WindowUtils
java.lang.Object
com.l2fprod.util.WindowUtils
public class WindowUtils
- extends java.lang.Object
- Version:
- $Revision: 1.2 $, $Date: 2005/07/02 21:47:29 $
- Author:
- $Author: zombi $
Method Summary |
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WindowUtils
public WindowUtils()
centerOnScreen
public static void centerOnScreen(java.awt.Window w)
- Description of the Method
- Parameters:
w
- Description of Parameter
sizeTo
public static void sizeTo(java.awt.Window w,
double x,
double y)
- Description of the Method
- Parameters:
w
- Description of Parameterx
- Description of Parametery
- Description of Parameter
getWindowButton
public static javax.swing.JButton getWindowButton(javax.swing.JFrame window,
java.lang.String name)
getWindowButton
public static javax.swing.JButton getWindowButton(javax.swing.JDialog window,
java.lang.String name)
getWindowButton
public static javax.swing.JButton getWindowButton(javax.swing.JRootPane rootPane,
java.lang.String name)