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
 Windowcontaining a givenComponent. | 
| 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 | 
 
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 Windowcontaining a givenComponent.
- 
- Parameters:
- component- The component whose- Windowis looked for.
- Returns:
- nullif no- Windowinstance has been found.