java swing full screen code example
Example: full screen in jframe
// Getting fullscreen **effect** by extending the frame either direction.
frame.setExtendedState(JFrame.MAXIMIZED_BOTH);
frame.setUndecorated(true);
// Getting fullscreen **effect** by extending the frame either direction.
frame.setExtendedState(JFrame.MAXIMIZED_BOTH);
frame.setUndecorated(true);