com.nonesole.swing.plaf.basic.tools
类 SwingUtils

java.lang.Object
  继承者 com.nonesole.swing.plaf.basic.tools.SwingUtils

public class SwingUtils
extends java.lang.Object

版本:
1.0 - build in 2011-01-18
作者:
JACK LEE

构造函数摘要
SwingUtils()
           
 
方法摘要
static int getCenterX(int width)
          屏幕居中X
static int getCenterY(int height)
          屏幕居中Y
static void setToScreenCenter(java.awt.Window window)
          屏幕居中
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造函数详细信息

SwingUtils

public SwingUtils()
方法详细信息

setToScreenCenter

public static void setToScreenCenter(java.awt.Window window)
屏幕居中


getCenterX

public static int getCenterX(int width)
屏幕居中X


getCenterY

public static int getCenterY(int height)
屏幕居中Y