jframe na celú obrazovku
frame.setExtendedState(JFrame.MAXIMIZED_BOTH);
nastaviť jframe celú obrazovku
GraphicsEnvironment graphics =
GraphicsEnvironment.getLocalGraphicsEnvironment();
GraphicsDevice device = graphics.getDefaultScreenDevice();
JFrame frame = new JFrame("Fullscreen");
device.setFullScreenWindow(frame);