Mega Code Archive

 
Categories / Java Tutorial / Swing
 

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();   } }