Java Graphics Settings getDefaultGraphicsConfiguration()

Here you can find the source of getDefaultGraphicsConfiguration()

Description

get Default Graphics Configuration

License

Open Source License

Declaration

protected static java.awt.GraphicsConfiguration getDefaultGraphicsConfiguration() 

Method Source Code

//package com.java2s;

public class Main {
    protected static java.awt.GraphicsConfiguration getDefaultGraphicsConfiguration() {
        java.awt.GraphicsEnvironment ge = java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment();
        java.awt.GraphicsDevice gd = ge.getDefaultScreenDevice();
        return gd.getDefaultConfiguration();
    }//from w  w  w.j a v  a  2  s  . c o  m
}

Related

  1. getDefaultConfig()
  2. getDefaultConfiguration()
  3. getDefaultGraphicsConfiguration()
  4. getDefaultGraphicsConfiguration()
  5. getMaxWindowBounds(final GraphicsConfiguration gc, final boolean applyScreenInsets)
  6. getRenderingHints(final Graphics2D g2d, final Map hintsToSave, Map savedHints)
  7. getRenderingHints(Graphics2D g2d, Map hintsToSave, RenderingHints savedHints)
  8. getRenderingHints(Graphics2D g2d, RenderingHints hintsToSave, RenderingHints savedHints)