public static GraphicsDevice [ ] getAvailableScreens ( ) { final GraphicsEnvironment graphicsEnvironment = GraphicsEnvironment . getLocalGraphicsEnvironment ( ) ; final GraphicsDevice [ ] graphicsDevices = graphicsEnvironment . getScreenDevices ( ) ; return graphicsDevices ; }
Gets the available screens .