com.mtp.gui
Class WindowUtilities

java.lang.Object
  |
  +--com.mtp.gui.WindowUtilities

public class WindowUtilities
extends Object

Useful utilities for Window's.

Author:
Matthew Pekar

Constructor Summary
WindowUtilities()
           
 
Method Summary
static void center(Window w)
           
static void center(Window w, Rectangle bounds)
          Center the given Window in the given bounds.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WindowUtilities

public WindowUtilities()
Method Detail

center

public static void center(Window w)

center

public static void center(Window w,
                          Rectangle bounds)
Center the given Window in the given bounds.



Copyright © 2002 Matthew Pekar. All Rights Reserved.