Package 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 $
-
-
Constructor Summary
Constructors Constructor Description WindowUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidcenterOnScreen(java.awt.Window w)Description of the Methodstatic javax.swing.JButtongetWindowButton(javax.swing.JDialog window, java.lang.String name)static javax.swing.JButtongetWindowButton(javax.swing.JFrame window, java.lang.String name)static javax.swing.JButtongetWindowButton(javax.swing.JRootPane rootPane, java.lang.String name)static voidsizeTo(java.awt.Window w, double x, double y)Description of the Method
-
-
-
Method Detail
-
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)
-
-