|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object issrg.policytester.util.WindowUtils
public class WindowUtils
This class provides useful methods related to windows.
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 |
---|
public static void centerWindow(java.awt.Container window)
setLocation
method on the window.
window
- the window which should be centered on screen
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |