package com.image.capture;

import java.awt.*;

public class ScreanSizeUtil {

	private static Dimension scrSize;
	static {
		if (scrSize == null) {
			scrSize = getDimension();
		}
	}

	public static Dimension getDimension() {
		scrSize = Toolkit.getDefaultToolkit().getScreenSize();
		return scrSize;
	}

	public static int getWidth() {
		return (int) scrSize.getWidth();
	}

	public static int getHetgth() {
		return (int) scrSize.getHeight();
	}
}
最近下载更多
dearxo2014  LV1 2024年11月9日
fgg047  LV1 2022年1月24日
laowang933  LV1 2021年5月3日
2196316269  LV10 2020年11月21日
675104182  LV14 2020年9月22日
天空java  LV8 2020年6月1日
wngauss  LV4 2020年5月22日
SKxumeng  LV1 2019年5月28日
鱼椒盐排骨  LV8 2019年5月27日
blb555  LV14 2019年5月26日
最近浏览更多
dearxo2014  LV1 2024年11月9日
sswert  LV2 2024年9月12日
3334004690  LV10 2024年6月6日
ja12121  LV2 2023年6月17日
微信网友_5992582549164032  LV6 2023年2月21日
maoye520  LV1 2022年8月10日
fantaohaofan  LV2 2022年6月23日
977903096  LV10 2022年3月12日
fgg047  LV1 2022年1月24日
laowang933  LV1 2021年5月3日
顶部 客服 微信二维码 底部
>扫描二维码关注最代码为好友扫描二维码关注最代码为好友