edu.iastate.jtm.gui
Class ScreenUtil

java.lang.Object
  extended by edu.iastate.jtm.gui.ScreenUtil

public class ScreenUtil
extends java.lang.Object

Author:
Jing Ding edu.iastate.jtm.gui jtm

Constructor Summary
ScreenUtil()
           
 
Method Summary
static void centerComponent(java.awt.Component comp)
           
static java.awt.Point componentCenter(java.awt.Component comp)
           
static void sizeComponent(java.awt.Component comp, double width, double height)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScreenUtil

public ScreenUtil()
Method Detail

sizeComponent

public static void sizeComponent(java.awt.Component comp,
                                 double width,
                                 double height)

centerComponent

public static void centerComponent(java.awt.Component comp)

componentCenter

public static java.awt.Point componentCenter(java.awt.Component comp)