Java Screen Size getMaximumWindowWidth()

Here you can find the source of getMaximumWindowWidth()

Description

get Maximum Window Width

License

LGPL

Declaration

public static int getMaximumWindowWidth() 

Method Source Code


//package com.java2s;
//License from project: LGPL 

import java.awt.Dimension;
import java.awt.Toolkit;

public class Main {
    public static int getMaximumWindowWidth() {
        Toolkit toolkit = Toolkit.getDefaultToolkit();
        Dimension dim = toolkit.getScreenSize();
        return dim.width;
    }/*from ww w  .  j a va 2s . c o  m*/
}

Related

  1. getDesktopBounds()
  2. getLocalScreenBounds()
  3. getLocationFromMouse(Dimension panelPrefSize_)
  4. getMaximumWindowBounds()
  5. getMaximumWindowBounds()
  6. getMaxSize(Window frame)
  7. getMaxUsableScreenSize()
  8. getMaxWindowSize()
  9. getMinimumCacheSize(int tileSize, double overdrawFactor)