Finden Sie die Bildschirmzentrale Graphic G.
Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
int height = screenSize.height;
int width = screenSize.width;
Helpful Hare