issrg.policytester.util
Class WindowUtils

java.lang.Object
  extended by issrg.policytester.util.WindowUtils

public class WindowUtils
extends java.lang.Object

This class provides useful methods related to windows.

Author:
Bernhard Pauler

Method Summary
static void centerWindow(java.awt.Container window)
          Centers the given window on screen by determining the actual screen size and calling the setLocation method on the window.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

centerWindow

public static void centerWindow(java.awt.Container window)
Centers the given window on screen by determining the actual screen size and calling the setLocation method on the window.

Parameters:
window - the window which should be centered on screen