GraphicsDevice gd = GraphicsEnvironment.getLocalGraphicsEnvironment().getDefaultScreenDevice();
DisplayMode dm = gd.getDisplayMode();
int width = dm.getWidth();
int height = dm.getHeight();
备忘。
GraphicsDevice gd = GraphicsEnvironment.getLocalGraphicsEnvironment().getDefaultScreenDevice();
DisplayMode dm = gd.getDisplayMode();
int width = dm.getWidth();
int height = dm.getHeight();
备忘。