|
How to remove the title bar of a Frame |
|
|
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();
|
Related Tips
|
Page 1 of 0 ( 0 comments )
You can share your information about this topic using the form below!
Please do not post your questions with this form! Thanks.