set jframe fullscreen without setextendedstate code example Example: java fullscreen jframe frame.setExtendedState(JFrame.MAXIMIZED_BOTH);