gr.zeus.util
Class GUIUtils

java.lang.Object
  extended by gr.zeus.util.GUIUtils

public final class GUIUtils
extends java.lang.Object

GUI Helper class, contains static methods that are used all the time.

Since:
1.0
Author:
Gregory Kotsaftis

Constructor Summary
GUIUtils()
           
 
Method Summary
static void centerOnScreen(java.awt.Window w)
          Centers a window on screen.
static void maximizeJFrame(javax.swing.JFrame f)
          Maximizes a JFrame, just like the 'maximize window' button does.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GUIUtils

public GUIUtils()
Method Detail

centerOnScreen

public static void centerOnScreen(java.awt.Window w)
Centers a window on screen.

Parameters:
w - The window to center.

maximizeJFrame

public static void maximizeJFrame(javax.swing.JFrame f)
Maximizes a JFrame, just like the 'maximize window' button does.

Parameters:
f - The frame to maximize.