Java Graphics Settings getDefaultConfig()

Here you can find the source of getDefaultConfig()

Description

get Default Config

License

Open Source License

Declaration

private static GraphicsConfiguration getDefaultConfig() 

Method Source Code


//package com.java2s;
/*===========================================================================
COPYRIGHT 2013 Vin?cius G. Mendon?a ALL RIGHTS RESERVED.
    /*from  www.j  av  a  2 s. c o  m*/
This software cannot be copied, stored, distributed without
Vin?cius G. Mendon?a prior authorization.
    
This file was made available on https://github.com/ViniGodoy and it
is free to be redistributed or used under Creative Commons license 2.5 br:
http://creativecommons.org/licenses/by-sa/2.5/br/
============================================================================*/

import java.awt.*;

public class Main {
    private static GraphicsConfiguration getDefaultConfig() {
        return GraphicsEnvironment.getLocalGraphicsEnvironment().getDefaultScreenDevice().getDefaultConfiguration();
    }
}

Related

  1. getDefaultConfiguration()
  2. getDefaultGraphicsConfiguration()
  3. getDefaultGraphicsConfiguration()
  4. getDefaultGraphicsConfiguration()