Java Screen Size screenSize()

Here you can find the source of screenSize()

Description

screen Size

License

Open Source License

Declaration

public static Dimension screenSize() 

Method Source Code


//package com.java2s;
//License from project: Open Source License 

import java.awt.Dimension;

import java.awt.Toolkit;

public class Main {
    public static Dimension screenSize() {
        return Toolkit.getDefaultToolkit().getScreenSize();
    }/*from   w w w .j a v a 2 s.c  o m*/
}

Related

  1. getSizeWithScreen(double xd, double yd)
  2. getSystemSizeRate()
  3. getWindowActualSize(final Window window)
  4. makeEllipse(double x, double y, double size)
  5. maximizeWindowWithMargin(final Window window, final int margin, final Dimension maxSize)
  6. setLocationRelativeToAndSizeToWindow(Component parent, Component child, Dimension max)
  7. setSize(final Window window, final int minusX, final int minusY)
  8. setSize(Window window, double widthFactor, double heightFactor)
  9. setWindowDesktopSize(Window window, double sizeX, double sizeY)