Can you at lease disable it so It cannot be clicked so the user would not get the wrong idea. I already no how to set it to DO_NOTHING_ON_CLOSE but the user still keeps pressing the X waiting for something to happen. please help me
Printable View
Can you at lease disable it so It cannot be clicked so the user would not get the wrong idea. I already no how to set it to DO_NOTHING_ON_CLOSE but the user still keeps pressing the X waiting for something to happen. please help me
Is there a way to make the X button grayed out like the Minimize/Maximize button. I will do what you asked but I still want to no if it is possible. Thanx
My boss wants either the X button to be grayed out or removed. Please I was researching for a while now and cannot find a way to achieve this. Is it even possible.
You can't remove close Button from JFrames, but you can disable by calling setDefaultCloseOperation(WindowConstants.DO_NOTHIN G_ON_CLOSE) on that JFrame. [1]
[1]