fullscreen swing java code example Example: java fullscreen jframe frame.setExtendedState(JFrame.MAXIMIZED_BOTH);