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