Removing the Title Bar of a Frame
import java.awt.Frame; public class Main { public static void main() { Frame frame = new Frame(); frame.setUndecorated(true); // Get the current decorated state boolean undecorated = frame.isUndecorated(); } }