What is the setUndecorated(false) method responsible for?
1 answer
Using the method
public void setUndecorated(boolean undecorated) Frame class can control the appearance of the Frame itself. Appearance here refers to the title, frame and buttons in the upper right corner of the window.
When this method is called with the true flag, the above elements will not be displayed, if called with the false flag, you will receive the default window display (with all these elements).
- Thank you so much - Daniyar Myrzakanov
|