full screen in jframe 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);