Java examples for java.awt:Window
Get Screen Working Width
//package com.java2s; import static java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment; public class Main { public static int GetScreenWorkingWidth() { return getLocalGraphicsEnvironment().getMaximumWindowBounds().width; }//from www. j a v a 2s.com }