This Java demostrates a way of removing the title bar and other decorations from a frame. A frame without decorations looks and behaves like a Window container. However, if the developer does not want the frame with all the decorations, it is better to use a Window container. Further, the decorations can only be removed while the frame is not visible.
Frame applicationframe = new Frame(); applicationframe.setUndecorated(true); // Confirm the current decorated state boolean undecorated = applicationframe.isUndecorated();