0
How to disable X from a frame?
The below option I found just doesn’t perform close action:
frame.setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE);
I need the X button of the frame to be disabled and not allow clicking.
0
How to disable X from a frame?
The below option I found just doesn’t perform close action:
frame.setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE);
I need the X button of the frame to be disabled and not allow clicking.
Browser other questions tagged java swing jframe
You are not signed in. Login or sign up in order to post.
You need to take the button off?
– Higor Maia Concessa
Yes, but without removing the outline of the frame where the title is written if possible
– Adriana
I want him not to show
– Adriana