net.sf.genuine.tools
Class GuiTools

java.lang.Object
  extended bynet.sf.genuine.tools.GuiTools

public class GuiTools
extends java.lang.Object

Misc tools related to user interfaces

Author:
Tim Wellhausen

Constructor Summary
GuiTools()
           
 
Method Summary
static void centerWindow(java.awt.Window window)
          Puts the given frame into the center of the screen.
static void maximizeWindow(java.awt.Window window)
          Sets the size of the given window to the desktop size.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GuiTools

public GuiTools()
Method Detail

centerWindow

public static void centerWindow(java.awt.Window window)
Puts the given frame into the center of the screen.


maximizeWindow

public static void maximizeWindow(java.awt.Window window)
Sets the size of the given window to the desktop size.