com.lc.util.awt
Class Windows

java.lang.Object
  |
  +--com.lc.util.awt.Windows

public final class Windows
extends java.lang.Object

Utility class for helping windows display.

Version:
$Revision: 1.1.1.1 $ $Date: 2002/02/19 22:12:05 $
Author:
Laurent Caillette

Method Summary
static void center(java.awt.Component parent, java.awt.Component target)
           
static void centerOnScreen(java.awt.Window w)
           
static java.awt.Window findWindow(java.awt.Component component)
          Returns the Window containing a given Component .
static void makeAppear(java.awt.Window w, int width, int height)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

centerOnScreen

public static void centerOnScreen(java.awt.Window w)

center

public static void center(java.awt.Component parent,
                          java.awt.Component target)

makeAppear

public static final void makeAppear(java.awt.Window w,
                                    int width,
                                    int height)

findWindow

public static java.awt.Window findWindow(java.awt.Component component)
Returns the Window containing a given Component .
Parameters:
component - The component whose Window is looked for.
Returns:
null if no Window instance has been found.