Java Graphics Settings getDefaultConfiguration()

Here you can find the source of getDefaultConfiguration()

Description

get Default Configuration

License

Apache License

Declaration

public static GraphicsConfiguration getDefaultConfiguration() 

Method Source Code

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

import java.awt.GraphicsConfiguration;
import java.awt.GraphicsDevice;
import java.awt.GraphicsEnvironment;

public class Main {
    public static GraphicsConfiguration getDefaultConfiguration() {
        GraphicsEnvironment ge = GraphicsEnvironment.getLocalGraphicsEnvironment();
        GraphicsDevice gd = ge.getDefaultScreenDevice();
        return gd.getDefaultConfiguration();
    }//  w  w w.  ja va  2 s  . c o m
}

Related

  1. getDefaultConfig()
  2. getDefaultGraphicsConfiguration()
  3. getDefaultGraphicsConfiguration()
  4. getDefaultGraphicsConfiguration()
  5. getMaxWindowBounds(final GraphicsConfiguration gc, final boolean applyScreenInsets)