Vollbild in JFrame

// Getting fullscreen **effect** by extending the frame either direction.
frame.setExtendedState(JFrame.MAXIMIZED_BOTH); 
frame.setUndecorated(true);
Minecraftian14