question: private static GraphicsEnvironment createGE ( ) { GraphicsEnvironment ge ; String nm = AccessController . doPrivileged ( new GetPropertyAction ( "java.awt.graphicsenv" , null ) ) ; try { Class < GraphicsEnvironment > geCls ; try { geCls = ( Class < GraphicsEnvironment > ) Class . forName ( nm ) ; } catch ( ClassNotFoundException ex ) { ClassLoader cl = ClassLoader . getSystemClassLoader ( ) ; geCls = ( Class < GraphicsEnvironment > ) Class . forName ( nm , true , cl ) ; } ge = geCls . newInstance ( ) ; if ( isHeadless ( ) ) { ge = new HeadlessGraphicsEnvironment ( ge ) ; } } catch ( ClassNotFoundException e ) { throw new Error ( "Could not find class: " + nm ) ; } catch ( InstantiationException e ) { throw new Error ( "Could not instantiate Graphics Environment: " + nm ) ; } catch ( IllegalAccessException e ) { throw new Error ( "Could not access Graphics Environment: " + nm ) ; } return ge ; }
target:  Creates and returns the GraphicsEnvironment, according to the system property 'java.awt.graphicsenv'.