util
Class ScreenConfig

java.lang.Object
  extended by util.ScreenConfig

public class ScreenConfig
extends java.lang.Object

Provides some helper routines for screen configuration.


Constructor Summary
ScreenConfig()
           
 
Method Summary
static void centerInComponent(java.awt.Component aComponent, java.awt.Component aParent)
          Center the given component in the given parent.
static void centerInScreen(java.awt.Component aComponent)
          Center the given component in the visible screen.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScreenConfig

public ScreenConfig()
Method Detail

centerInScreen

public static void centerInScreen(java.awt.Component aComponent)
Center the given component in the visible screen.

Parameters:
aComponent -

centerInComponent

public static void centerInComponent(java.awt.Component aComponent,
                                     java.awt.Component aParent)
Center the given component in the given parent.

Parameters:
aComponent -
aParent -