!7 p { print(); GraphicsDevice[] devices = GraphicsEnvironment.getLocalGraphicsEnvironment().getScreenDevices(); for (GraphicsDevice d : devices) { print(d.getIDstring()); GraphicsConfiguration config = d.getDefaultConfiguration(); print(" Bounds: " + config.getBounds()); print(" Accellerated memory: " + toM(d.getAvailableAcceleratedMemory()) + " MB"); print(); } }