get Screen Working Height - Java Swing

Java examples for Swing:Screen

Description

get Screen Working Height

Demo Code


//package com.java2s;

public class Main {
    public static int getScreenWorkingHeight() {
        return java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment()
                .getMaximumWindowBounds().height;
    }//from w w w  .  j  av a 2s.  c  o  m
}

Related Tutorials