แบบเต็มจอภาพของจาวา jframe
frame.setExtendedState(JFrame.MAXIMIZED_BOTH);
ตั้งค่า jframe แบบเต็มจอภาพ
GraphicsEnvironment graphics =
GraphicsEnvironment.getLocalGraphicsEnvironment();
GraphicsDevice device = graphics.getDefaultScreenDevice();
JFrame frame = new JFrame("Fullscreen");
device.setFullScreenWindow(frame);